aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-11-13 00:44:09 +0000
committerBruce Momjian <bruce@momjian.us>2002-11-13 00:44:09 +0000
commit4e5a947d1c0db0d826ec422c2aa899915c6f1758 (patch)
tree5991452f43bbc43aa4359de0a56eeecd6e644474 /doc/src
parent9b12ab6d5dd6c40ac112456c820a8dc199fc6e16 (diff)
downloadpostgresql-4e5a947d1c0db0d826ec422c2aa899915c6f1758.tar.gz
postgresql-4e5a947d1c0db0d826ec422c2aa899915c6f1758.zip
Make MOVE/FETCH 0 actually move/fetch 0. Add MOVE LAST to move to end
of cursor.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/move.sgml10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/move.sgml b/doc/src/sgml/ref/move.sgml
index 0d0d662ada2..46c830406ea 100644
--- a/doc/src/sgml/ref/move.sgml
+++ b/doc/src/sgml/ref/move.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/move.sgml,v 1.13 2002/04/21 19:02:39 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/move.sgml,v 1.14 2002/11/13 00:44:08 momjian Exp $
PostgreSQL documentation
-->
@@ -21,7 +21,8 @@ PostgreSQL documentation
<date>1999-07-20</date>
</refsynopsisdivinfo>
<synopsis>
-MOVE [ <replaceable class="PARAMETER">direction</replaceable> ] [ <replaceable class="PARAMETER">count</replaceable> ]
+MOVE [ <replaceable class="PARAMETER">direction</replaceable> ]
+ {<replaceable class="PARAMETER">count</replaceable> | LAST }
{ IN | FROM } <replaceable class="PARAMETER">cursor</replaceable>
</synopsis>
</refsynopsisdiv>
@@ -37,8 +38,9 @@ MOVE [ <replaceable class="PARAMETER">direction</replaceable> ] [ <replaceable c
<command>MOVE</command> allows a user to move cursor position a specified
number of rows.
<command>MOVE</command> works like the <command>FETCH</command> command,
- but only positions the cursor and does
- not return rows.
+ but only positions the cursor and does not return rows.
+ <replaceable class="PARAMETER">LAST</replaceable> moves to the end
+ of the cursor.
</para>
<para>
Refer to