summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2011-04-04 16:03:41 +0000
committerAlvaro Herrera2011-04-04 16:04:43 +0000
commit8c250f3741f4f897362de32a03f56726cf3f9774 (patch)
tree11ffd97adb29a557df49becbefdd5b2ed4ded0a5
parent6c5723998594dffa5d47c3cf8c96ccf89c033aae (diff)
Duplicate expansion of "direction" from FETCH's synopsis into MOVE
-rw-r--r--doc/src/sgml/ref/fetch.sgml1
-rw-r--r--doc/src/sgml/ref/move.sgml18
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml
index 1e3cbea08f..b78fed267b 100644
--- a/doc/src/sgml/ref/fetch.sgml
+++ b/doc/src/sgml/ref/fetch.sgml
@@ -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>
diff --git a/doc/src/sgml/ref/move.sgml b/doc/src/sgml/ref/move.sgml
index 209d5fd823..231f537c86 100644
--- a/doc/src/sgml/ref/move.sgml
+++ b/doc/src/sgml/ref/move.sgml
@@ -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>