1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

Update HISTORY

This commit is contained in:
Bruce Momjian
2000-03-24 01:20:09 +00:00
parent 7177bbac29
commit 853cf66176
3 changed files with 8 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.17 2000/03/23 23:16:47 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.18 2000/03/24 01:20:09 momjian Exp $
Postgres documentation
-->
@@ -87,8 +87,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
<listitem>
<para>
If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
If ROW or ACCESS is not specified, the entire table is locked
for the duration of the transaction.
Locks exist for the duration of the transaction.
</para>
</listitem>
</varlistentry>
@@ -117,14 +116,12 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
<note>
<para>
This lock mode is acquired automatically over tables being queried.
It is released after the statement completes.
It does not remain for the duration of the transaction.
</para>
</note>
<para>
This is the least restrictive lock mode. It conflicts only with
ACCESS EXCLUSIVE mode. It is used to protect a table being
ACCESS EXCLUSIVE mode. It is used to protect a table from being
modified by concurrent <command>ALTER TABLE</command>,
<command>DROP TABLE</command> and <command>VACUUM</command>
commands.
@@ -138,8 +135,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
<note>
<para>
Automatically acquired by <command>SELECT...FOR UPDATE</command>.
While it is a shared lock, there is the intention to later upgrade
this to a ROW EXCLUSIVE lock.
While it is a shared lock, may be upgrade later to a ROW EXCLUSIVE lock.
</para>
</note>