11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.24 2003/02/03 14:04:24 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.25 2003/02/04 11:23:58 momjian Exp $
33PostgreSQL documentation
44-->
55
@@ -209,13 +209,13 @@ WARNING: FETCH/ABSOLUTE not supported, using RELATIVE
209209
210210 <para>
211211 The cursor position can be before the first row of the query result, or on
212- any particular row of the result.
212+ any particular row of the result, or after the last row of the result .
213213 When created, a cursor is positioned before the first row. After fetching
214214 some rows, the cursor is positioned on the last row retrieved. A new
215215 <command>FETCH</command> always steps one row in the specified direction
216216 (if possible) before beginning to return rows. If the
217217 <command>FETCH</command> requests more rows than available, the cursor is
218- left positionedon the last row of the query result (oron the first
218+ left positionedafter the last row of the query result (orbefore the first
219219 row, in the case of a backward fetch). This will always be the case after
220220 <command>FETCH ALL</>.
221221 </para>
@@ -225,7 +225,7 @@ WARNING: FETCH/ABSOLUTE not supported, using RELATIVE
225225 A zero row count requests fetching the current row without moving the
226226 cursor --- that is, re-fetching the most recently fetched row.
227227 This will succeed unless the cursor is positioned before the
228- first row; in which case, no row is returned.
228+ first row or after the last row ; in which case, no row is returned.
229229 </para>
230230 </tip>
231231