11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.17 2000/03/23 23:16:47 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.18 2000/03/24 01:20:09 momjian Exp $
33Postgres documentation
44-->
55
@@ -87,8 +87,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
8787 <listitem>
8888 <para>
8989If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
90- If ROW or ACCESS is not specified, the entire table is locked
91- for the duration of the transaction.
90+ Locks exist for the duration of the transaction.
9291 </para>
9392 </listitem>
9493 </varlistentry>
@@ -117,14 +116,12 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
117116 <note>
118117<para>
119118 This lock mode is acquired automatically over tables being queried.
120- It is released after the statement completes.
121- It does not remain for the duration of the transaction.
122119</para>
123120 </note>
124121
125122 <para>
126123This is the least restrictive lock mode. It conflicts only with
127- ACCESS EXCLUSIVE mode. It is used to protect a table being
124+ ACCESS EXCLUSIVE mode. It is used to protect a tablefrom being
128125modified by concurrent <command>ALTER TABLE</command>,
129126<command>DROP TABLE</command> and <command>VACUUM</command>
130127commands.
@@ -138,8 +135,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
138135 <note>
139136 <para>
140137 Automatically acquired by <command>SELECT...FOR UPDATE</command>.
141- While it is a shared lock, there is the intention to later upgrade
142- this to a ROW EXCLUSIVE lock.
138+ While it is a shared lock, may be upgrade later to a ROW EXCLUSIVE lock.
143139</para>
144140 </note>
145141