From: Bruce Momjian Date: Thu, 8 Feb 2007 15:32:11 +0000 (+0000) Subject: Add lock matrix to documentation. X-Git-Tag: REL8_3_BETA1~1280 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eea3749d2ebbe14fb0f442445955180326bc6546;p=postgresql Add lock matrix to documentation. Teodor Sigaev --- 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 + + + +