Remove old claim that ExclusiveLock is sometimes taken on system catalogs.
authorTom Lane
Tue, 25 Jan 2011 23:39:01 +0000 (18:39 -0500)
committerTom Lane
Tue, 25 Jan 2011 23:39:01 +0000 (18:39 -0500)
We used to do that on pg_listener, but pg_listener is no more.

Also add a bit more documentation for ShareRowExclusive mode.

doc/src/sgml/mvcc.sgml

index 020bbcd0e2ae1a11a0ef981c8c5bd591b7d5e2b4..49db3f176fab812c834a61e0a4919217adbc5951 100644 (file)
@@ -692,6 +692,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
          SHARESHARE ROW
          EXCLUSIVE, EXCLUSIVE, and
          ACCESS EXCLUSIVE 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.
         
 
         
@@ -719,9 +721,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
         
 
         
-         This lock mode is not automatically acquired on user tables by any
-         PostgreSQL command.  However it is
-         acquired on certain system catalogs in some operations.
+         This lock mode is not automatically acquired on tables by any
+         PostgreSQL command.