From 5042d16d1210d1a10a896a0fcf81230ff4b0e383 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 25 Jan 2011 18:39:01 -0500 Subject: [PATCH] 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. --- doc/src/sgml/mvcc.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 020bbcd0e2..49db3f176f 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; SHARE, SHARE 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.