mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix markup for terminology.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.19 2000/03/24 03:57:06 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.20 2000/03/28 14:35:27 thomas Exp $
|
||||||
Postgres documentation
|
Postgres documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -224,10 +224,18 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
|
|||||||
<title>
|
<title>
|
||||||
Description
|
Description
|
||||||
</title>
|
</title>
|
||||||
<title>
|
|
||||||
Terms
|
|
||||||
</title>
|
|
||||||
<para>
|
<para>
|
||||||
|
<command>LOCK TABLE</command> controls concurrent access to a table
|
||||||
|
for the duration of a transaction.
|
||||||
|
<productname>Postgres</productname> always uses the least restrictive
|
||||||
|
lock mode whenever possible. <command>LOCK TABLE</command>
|
||||||
|
provided for cases when you might need more restrictive locking.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<acronym>RDBMS</acronym> locking uses the following terminology:
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>EXCLUSIVE</term>
|
<term>EXCLUSIVE</term>
|
||||||
@ -237,9 +245,7 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SHARE</term>
|
<term>SHARE</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -248,9 +254,7 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>ACCESS</term>
|
<term>ACCESS</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -259,9 +263,7 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>ROW</term>
|
<term>ROW</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -272,24 +274,12 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<variablelist>
|
<note>
|
||||||
<varlistentry>
|
|
||||||
<term>Notes</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
<para>
|
||||||
If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
|
If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
|
||||||
Locks exist for the duration of the transaction.
|
Locks exist for the duration of the transaction.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</note>
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<productname>Postgres</productname> always uses the least restrictive
|
|
||||||
lock mode whenever possible. <command>LOCK TABLE</command>
|
|
||||||
provided for cases when you might need more restrictive locking.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user