From 57775e82b235b2c815d9fd85cea53d77373a9203 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 11 May 2020 20:41:06 -0400 Subject: [PATCH] Doc: hack table 13.2 "Conflicting Lock Modes" till it fits in PDF. I can't see any way to make this table fit in PDF column width without either a fundamental redesign or abbreviating EXCLUSIVE. So I did the latter. It'd be nicer if the abbreviating didn't leak into the HTML output as well; but the hackery required to make the output different seems like more trouble than it's really worth. Discussion: https://postgr.es/m/6916.1589146280@sss.pgh.pa.us --- doc/src/sgml/mvcc.sgml | 47 ++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 3f6c2316112..a826f2b4e47 100644 --- a/doc/src/sgml/mvcc.sgml +++ b/doc/src/sgml/mvcc.sgml @@ -1053,28 +1053,35 @@ ERROR: could not serialize access due to read/write dependencies among transact Conflicting Lock Modes - - - + + + + + + + + + + Requested Lock Mode - Current Lock Mode + Existing Lock Mode - ACCESS SHARE - ROW SHARE - ROW EXCLUSIVE - SHARE UPDATE EXCLUSIVE - SHARE - SHARE ROW EXCLUSIVE - EXCLUSIVE - ACCESS EXCLUSIVE + ACCESS SHARE + ROW SHARE + ROW EXCL. + SHARE UPDATE EXCL. + SHARE + SHARE ROW EXCL. + EXCL. + ACCESS EXCL. - ACCESS SHARE + ACCESS SHARE @@ -1085,7 +1092,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - ROW SHARE + ROW SHARE @@ -1096,7 +1103,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - ROW EXCLUSIVE + ROW EXCL. @@ -1107,7 +1114,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - SHARE UPDATE EXCLUSIVE + SHARE UPDATE EXCL. @@ -1118,7 +1125,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - SHARE + SHARE X @@ -1129,7 +1136,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - SHARE ROW EXCLUSIVE + SHARE ROW EXCL. X @@ -1140,7 +1147,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - EXCLUSIVE + EXCL. X X @@ -1151,7 +1158,7 @@ ERROR: could not serialize access due to read/write dependencies among transact X - ACCESS EXCLUSIVE + ACCESS EXCL. X X X