1
1
<!--
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 $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -209,13 +209,13 @@ WARNING: FETCH/ABSOLUTE not supported, using RELATIVE
209
209
210
210
<para>
211
211
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 .
213
213
When created, a cursor is positioned before the first row. After fetching
214
214
some rows, the cursor is positioned on the last row retrieved. A new
215
215
<command>FETCH</command> always steps one row in the specified direction
216
216
(if possible) before beginning to return rows. If the
217
217
<command>FETCH</command> requests more rows than available, the cursor is
218
- left positioned on the last row of the query result (or on the first
218
+ left positioned after the last row of the query result (or before the first
219
219
row, in the case of a backward fetch). This will always be the case after
220
220
<command>FETCH ALL</>.
221
221
</para>
@@ -225,7 +225,7 @@ WARNING: FETCH/ABSOLUTE not supported, using RELATIVE
225
225
A zero row count requests fetching the current row without moving the
226
226
cursor --- that is, re-fetching the most recently fetched row.
227
227
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.
229
229
</para>
230
230
</tip>
231
231
0 commit comments