]> granicus.if.org Git - postgresql/commitdiff
Duplicate expansion of "direction" from FETCH's synopsis into MOVE
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 4 Apr 2011 16:03:41 +0000 (12:03 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 4 Apr 2011 16:04:43 +0000 (12:04 -0400)
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/move.sgml

index 1e3cbea08fd602603eef1a17a830253fc050f4df..b78fed267b93bd687e2aa17294ff824554caeb85 100644 (file)
@@ -25,6 +25,7 @@ PostgreSQL documentation
  </indexterm>
 
  <refsynopsisdiv>
+<!-- Note the "direction" bit is also in ref/move.sgml -->
 <synopsis>
 FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
 
index 209d5fd8231e25e78073b6006ad480f5cd204677..231f537c860f5a2525154a7c5b62e5855c0c8b5f 100644 (file)
@@ -25,8 +25,26 @@ PostgreSQL documentation
  </indexterm>
 
  <refsynopsisdiv>
+<!-- Note the "direction" bit is also in ref/fetch.sgml -->
 <synopsis>
 MOVE [ <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>
+
+    NEXT
+    PRIOR
+    FIRST
+    LAST
+    ABSOLUTE <replaceable class="PARAMETER">count</replaceable>
+    RELATIVE <replaceable class="PARAMETER">count</replaceable>
+    <replaceable class="PARAMETER">count</replaceable>
+    ALL
+    FORWARD
+    FORWARD <replaceable class="PARAMETER">count</replaceable>
+    FORWARD ALL
+    BACKWARD
+    BACKWARD <replaceable class="PARAMETER">count</replaceable>
+    BACKWARD ALL
 </synopsis>
  </refsynopsisdiv>