Revert doc change so we mention moving past the last row of a cursor.
authorBruce Momjian
Tue, 4 Feb 2003 11:23:58 +0000 (11:23 +0000)
committerBruce Momjian
Tue, 4 Feb 2003 11:23:58 +0000 (11:23 +0000)
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/move.sgml

index 48363b5f4adb78d46ef44900b8eb57dc5cf19902..4770545cb838379e82d62bb3d6b3bdcaa2f80e42 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -209,13 +209,13 @@ WARNING:  FETCH/ABSOLUTE not supported, using RELATIVE
 
   
    The cursor position can be before the first row of the query result, or on
-   any particular row of the result.
+   any particular row of the result, or after the last row of the result.
    When created, a cursor is positioned before the first row.  After fetching
    some rows, the cursor is positioned on the last row retrieved.  A new
    FETCH always steps one row in the specified direction
    (if possible) before beginning to return rows.  If the
    FETCH requests more rows than available, the cursor is
-   left positioned on the last row of the query result (or on the first
+   left positioned after the last row of the query result (or before the first
    row, in the case of a backward fetch).  This will always be the case after
    FETCH ALL.
   
@@ -225,7 +225,7 @@ WARNING:  FETCH/ABSOLUTE not supported, using RELATIVE
      A zero row count requests fetching the current row without moving the
      cursor --- that is, re-fetching the most recently fetched row.
      This will succeed unless the cursor is positioned before the
-     first row; in which case, no row is returned.
+     first row or after the last row; in which case, no row is returned.
     
    
 
index 2d27e14442f9707f241ecf211d96be425a73f9fc..69be788c35c5fb12641f64c8b4e19db91c972faa 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -35,7 +35,7 @@ MOVE [ direction ] [ 
   
    MOVE allows the user to move the cursor position a 
    specified number of rows, or to the beginning or end of the cursor.
-   MOVE ALL moves to the last row of the cursor.
+   MOVE ALL moves to the end of the cursor.
    MOVE works exactly like the FETCH
    command, except it only repositions the cursor and does not return rows.