]> granicus.if.org Git - postgresql/commitdiff
Move LOCK terms down.
authorBruce Momjian <bruce@momjian.us>
Fri, 24 Mar 2000 03:57:06 +0000 (03:57 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 24 Mar 2000 03:57:06 +0000 (03:57 +0000)
doc/src/sgml/ref/lock.sgml

index 6ff7b718108b40803c736be820b4d82810ab2fa3..175d6e0b25db7ce3b2229adbcf1b9ab7fc8e9581 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.18 2000/03/24 01:20:09 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.19 2000/03/24 03:57:06 momjian Exp $
 Postgres documentation
 -->
 
@@ -33,67 +33,6 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">name</replaceable> IN SHARE ROW EX
     <date>1999-06-09</date>
    </refsect2info>
 
-   <title>
-    Terms
-   </title>
-   <para>
-    <variablelist>
-     <varlistentry>
-      <term>EXCLUSIVE</term>
-      <listitem>
-       <para>
-       Exclusive lock that prevents other locks from being granted.
-       </para>
-      </listitem>
-     </varlistentry>
-    </variablelist>
-
-    <variablelist>
-     <varlistentry>
-      <term>SHARE</term>
-      <listitem>
-       <para>
-       Allows others to share lock.  Prevents EXCLUSIVE locks.
-       </para>
-      </listitem>
-     </varlistentry>
-    </variablelist>
-
-    <variablelist>
-     <varlistentry>
-      <term>ACCESS</term>
-      <listitem>
-       <para>
-       Locks table schema.
-       </para>
-      </listitem>
-     </varlistentry>
-    </variablelist>
-
-    <variablelist>
-     <varlistentry>
-      <term>ROW</term>
-      <listitem>
-       <para>
-       Locks individual rows.
-       </para>
-      </listitem>
-     </varlistentry>
-    </variablelist>
-
-    <variablelist>
-     <varlistentry>
-      <term>Notes</term>
-      <listitem>
-       <para>
-       If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
-       Locks exist for the duration of the transaction.
-       </para>
-      </listitem>
-     </varlistentry>
-    </variablelist>
-
-   </para>
 
    <title>
     Inputs
@@ -285,6 +224,68 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
   <title>
    Description
   </title>
+   <title>
+    Terms
+   </title>
+   <para>
+    <variablelist>
+     <varlistentry>
+      <term>EXCLUSIVE</term>
+      <listitem>
+       <para>
+       Exclusive lock that prevents other locks from being granted.
+       </para>
+      </listitem>
+     </varlistentry>
+    </variablelist>
+
+    <variablelist>
+     <varlistentry>
+      <term>SHARE</term>
+      <listitem>
+       <para>
+       Allows others to share lock.  Prevents EXCLUSIVE locks.
+       </para>
+      </listitem>
+     </varlistentry>
+    </variablelist>
+
+    <variablelist>
+     <varlistentry>
+      <term>ACCESS</term>
+      <listitem>
+       <para>
+       Locks table schema.
+       </para>
+      </listitem>
+     </varlistentry>
+    </variablelist>
+
+    <variablelist>
+     <varlistentry>
+      <term>ROW</term>
+      <listitem>
+       <para>
+       Locks individual rows.
+       </para>
+      </listitem>
+     </varlistentry>
+    </variablelist>
+
+    <variablelist>
+     <varlistentry>
+      <term>Notes</term>
+      <listitem>
+       <para>
+       If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
+       Locks exist for the duration of the transaction.
+       </para>
+      </listitem>
+     </varlistentry>
+    </variablelist>
+
+   </para>
+
   <para>
    <productname>Postgres</productname> always uses the least restrictive
    lock mode whenever possible. <command>LOCK TABLE</command>