Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5042d16

Browse files
committed
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.
1 parent558d1c9 commit5042d16

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎doc/src/sgml/mvcc.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
692692
<literal>SHARE</literal>, <literal>SHARE ROW
693693
EXCLUSIVE</literal>, <literal>EXCLUSIVE</literal>, and
694694
<literal>ACCESS EXCLUSIVE</literal> lock modes.
695+
This mode protects a table against concurrent data changes, and
696+
is self-exclusive so that only one session can hold it at a time.
695697
</para>
696698

697699
<para>
@@ -719,9 +721,8 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
719721
</para>
720722

721723
<para>
722-
This lock mode is not automatically acquired on user tables by any
723-
<productname>PostgreSQL</productname> command. However it is
724-
acquired on certain system catalogs in some operations.
724+
This lock mode is not automatically acquired on tables by any
725+
<productname>PostgreSQL</productname> command.
725726
</para>
726727
</listitem>
727728
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp