summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-01-25 18:39:01 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-01-25 18:39:01 -0500
commit5042d16d1210d1a10a896a0fcf81230ff4b0e383 (patch)
treee546c4febe5da9ffe03a0d11cac81d4b163a7988 /doc/src
parent558d1c95ae6afb8728f70a150c593f7e7aa5fac1 (diff)
Remove old claim that ExclusiveLock is sometimes taken on system catalogs.
We used to do that on pg_listener, but pg_listener is no more. Also add a bit more documentation for ShareRowExclusive mode.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/mvcc.sgml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml
index 020bbcd0e2a..49db3f176fa 100644
--- a/doc/src/sgml/mvcc.sgml
+++ b/doc/src/sgml/mvcc.sgml
@@ -692,6 +692,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
<literal>SHARE</literal>, <literal>SHARE ROW
EXCLUSIVE</literal>, <literal>EXCLUSIVE</literal>, and
<literal>ACCESS EXCLUSIVE</literal> lock modes.
+ This mode protects a table against concurrent data changes, and
+ is self-exclusive so that only one session can hold it at a time.
</para>
<para>
@@ -719,9 +721,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
</para>
<para>
- This lock mode is not automatically acquired on user tables by any
- <productname>PostgreSQL</productname> command. However it is
- acquired on certain system catalogs in some operations.
+ This lock mode is not automatically acquired on tables by any
+ <productname>PostgreSQL</productname> command.
</para>
</listitem>
</varlistentry>