1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-21 02:52:47 +03:00

doc: Clarify use of ACCESS EXCLUSIVE lock in various sections

Some sections of the documentation used "exclusive lock" to describe
that an ACCESS EXCLUSIVE lock is taken during a given operation.  This
can be confusing to the reader as ACCESS SHARE is allowed with an
EXCLUSIVE lock is used, but that would not be the case with what is
described on those parts of the documentation.

Author: Greg Rychlewski
Discussion: https://postgr.es/m/CAKemG7VptD=7fNWckFMsMVZL_zzvgDO6v2yVmQ+ZiBfc_06kCQ@mail.gmail.com
Backpatch-through: 9.6
This commit is contained in:
Michael Paquier
2021-04-01 15:28:37 +09:00
parent 4778826532
commit ffd3391ea9
9 changed files with 31 additions and 22 deletions

View File

@@ -97,8 +97,8 @@ pgrowlocks(text) returns setof record
<orderedlist>
<listitem>
<para>
If the table as a whole is exclusive-locked by someone else,
<function>pgrowlocks</function> will be blocked.
If an <literal>ACCESS EXCLUSIVE</literal> lock is taken on the table,
<function>pgrowlocks</function> will be blocked.
</para>
</listitem>
<listitem>