From eea3749d2ebbe14fb0f442445955180326bc6546 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 8 Feb 2007 15:32:11 +0000 Subject: [PATCH] Add lock matrix to documentation. Teodor Sigaev --- doc/src/sgml/mvcc.sgml | 119 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 02161a3a4c..0fcc984cd6 100644 --- a/doc/src/sgml/mvcc.sgml +++ b/doc/src/sgml/mvcc.sgml @@ -1,4 +1,4 @@ - + Concurrency Control @@ -741,6 +741,123 @@ SELECT SUM(value) FROM mytab WHERE class = 2; releases locks acquired within it. + + Compatibility of lock modes + + + + + + + + + + + + + Modes + AS + RS + RE + SUE + S + SRE + E + AE + + + + + AS + Y + Y + Y + Y + Y + Y + Y + N + + + RS + Y + Y + Y + Y + Y + Y + N + N + + + RE + Y + Y + Y + Y + N + N + N + N + + + SUE + Y + Y + Y + N + N + N + N + N + + + S + Y + Y + N + N + Y + N + N + N + + + SRE + Y + Y + N + N + N + N + N + N + + + E + Y + N + N + N + N + N + N + N + + + AE + N + N + N + N + N + N + N + N + + + +