Document the previous FETCH and MOVE changes.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 11 Nov 2009 20:07:57 +0000 (20:07 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 11 Nov 2009 20:07:57 +0000 (20:07 +0000)
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/move.sgml

index af4218b7618d82e69ef907feec7b3ca4f14c4a9a..13cdcff37f23d38eef720cd82b8da9a069310fd8 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.45 2009/09/19 10:23:27 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.46 2009/11/11 20:07:57 alvherre Exp $
 PostgreSQL documentation
 -->
 
@@ -26,7 +26,7 @@ PostgreSQL documentation
 
  <refsynopsisdiv>
 <synopsis>
-FETCH [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
+FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
 
 <phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase>
 
@@ -404,7 +404,8 @@ COMMIT WORK;
 
   <para>
    The SQL standard allows only <literal>FROM</> preceding the cursor
-   name; the option to use <literal>IN</> is an extension.
+   name; the option to use <literal>IN</>, or to leave them out altogether, is
+   an extension.
   </para>
  </refsect1>
 
index fdff72847b40e43a75348a08b7ae177f0cd7180a..beeb1349a19fe57a5df6aa24e856568eeb649d0d 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.33 2009/09/19 10:23:27 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.34 2009/11/11 20:07:57 alvherre Exp $
 PostgreSQL documentation
 -->
 
@@ -26,7 +26,7 @@ PostgreSQL documentation
 
  <refsynopsisdiv>
 <synopsis>
-MOVE [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
+MOVE [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
 </synopsis>
  </refsynopsisdiv>