1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.16 2000/03/23 22:25:35 momjian Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.17 2000/03/23 23:16:47 momjian Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -86,7 +86,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
86
86
<term>Notes</term>
87
87
<listitem>
88
88
<para>
89
- If EXCLUSIVE or SHARE are not speicified , EXCLUSIVE is assumed.
89
+ If EXCLUSIVE or SHARE are not specified , EXCLUSIVE is assumed.
90
90
If ROW or ACCESS is not specified, the entire table is locked
91
91
for the duration of the transaction.
92
92
</para>
@@ -117,14 +117,14 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
117
117
<note>
118
118
<para>
119
119
This lock mode is acquired automatically over tables being queried.
120
- This lock is released automatically after the statement completes.
120
+ It is released after the statement completes.
121
121
It does not remain for the duration of the transaction.
122
122
</para>
123
123
</note>
124
124
125
125
<para>
126
126
This is the least restrictive lock mode. It conflicts only with
127
- ACCESS EXCLUSIVE mode. It is intended to protect a table being
127
+ ACCESS EXCLUSIVE mode. It is used to protect a table being
128
128
modified by concurrent <command>ALTER TABLE</command>,
129
129
<command>DROP TABLE</command> and <command>VACUUM</command>
130
130
commands.
@@ -139,7 +139,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
139
139
<para>
140
140
Automatically acquired by <command>SELECT...FOR UPDATE</command>.
141
141
While it is a shared lock, there is the intention to later upgrade
142
- this to an EXCLUSIVE lock.
142
+ this to a ROW EXCLUSIVE lock.
143
143
</para>
144
144
</note>
145
145
0 commit comments