11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.13 1999/07/22 15:09:12 thomas Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.14 1999/10/01 15:26:29 thomas Exp $
33Postgres documentation
44-->
55
@@ -15,17 +15,17 @@ Postgres documentation
1515 LOCK
1616 </refname>
1717 <refpurpose>
18- Explicit lock of a table inside a transaction
18+ Explicitly lock a table inside a transaction
1919 </refpurpose>
2020 </refnamediv>
2121 <refsynopsisdiv>
2222 <refsynopsisdivinfo>
2323 <date>1999-07-20</date>
2424 </refsynopsisdivinfo>
2525 <synopsis>
26- LOCK [ TABLE ] <replaceable class="PARAMETER">table </replaceable>
27- LOCK [ TABLE ] <replaceable class="PARAMETER">table </replaceable> IN [ ROW | ACCESS ] { SHARE | EXCLUSIVE } MODE
28- LOCK [ TABLE ] <replaceable class="PARAMETER">table </replaceable> IN SHARE ROW EXCLUSIVE MODE
26+ LOCK [ TABLE ] <replaceable class="PARAMETER">name </replaceable>
27+ LOCK [ TABLE ] <replaceable class="PARAMETER">name </replaceable> IN [ ROW | ACCESS ] { SHARE | EXCLUSIVE } MODE
28+ LOCK [ TABLE ] <replaceable class="PARAMETER">name </replaceable> IN SHARE ROW EXCLUSIVE MODE
2929 </synopsis>
3030
3131 <refsect2 id="R2-SQL-LOCK-1">
@@ -39,7 +39,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">table</replaceable> IN SHARE ROW E
3939
4040 <variablelist>
4141 <varlistentry>
42- <term><replaceable class="PARAMETER">table </replaceable></term>
42+ <term><replaceable class="PARAMETER">name </replaceable></term>
4343 <listitem>
4444 <para>
4545The name of an existing table to lock.
@@ -195,11 +195,11 @@ LOCK TABLE
195195
196196 <varlistentry>
197197 <term><computeroutput>
198- ERROR <replaceable class="PARAMETER">table </replaceable>: Table does not exist.
198+ ERROR <replaceable class="PARAMETER">name </replaceable>: Table does not exist.
199199 </computeroutput></term>
200200 <listitem>
201201 <para>
202- Message returned if <replaceable class="PARAMETER">table </replaceable>
202+ Message returned if <replaceable class="PARAMETER">name </replaceable>
203203does not exist.
204204 </para>
205205 </listitem>
@@ -230,8 +230,9 @@ ERROR <replaceable class="PARAMETER">table</replaceable>: Table does not exist.
230230 table before querying. This will protect data from concurrent changes
231231 and provide any further read operations over the table with data in their
232232 actual current state, because SHARE lock mode conflicts with any ROW EXCLUSIVE
233- one acquired by writers, and your LOCK TABLE table IN SHARE MODE statement
234- will wait until any concurrent write operations commit or rollback.
233+ one acquired by writers, and your
234+ <command>LOCK TABLE <replaceable class="PARAMETER">name</replaceable> IN SHARE MODE</command>
235+ statement will wait until any concurrent write operations commit or rollback.
235236
236237 <note>
237238 <para>