Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bf4bf092
Commit
bf4bf092
authored
Feb 04, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert doc change so we mention moving past the last row of a cursor.
parent
985e551b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/fetch.sgml
+4
-4
doc/src/sgml/ref/move.sgml
doc/src/sgml/ref/move.sgml
+2
-2
No files found.
doc/src/sgml/ref/fetch.sgml
View file @
bf4bf092
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.2
4 2003/02/03 14:04:24
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.2
5 2003/02/04 11:23:58
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -209,13 +209,13 @@ WARNING: FETCH/ABSOLUTE not supported, using RELATIVE
<para>
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
<command>FETCH</command> always steps one row in the specified direction
(if possible) before beginning to return rows. If the
<command>FETCH</command> 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
<command>FETCH ALL</>.
</para>
...
...
@@ -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.
</para>
</tip>
...
...
doc/src/sgml/ref/move.sgml
View file @
bf4bf092
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/move.sgml,v 1.1
7 2003/02/03 14:04:24
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/move.sgml,v 1.1
8 2003/02/04 11:23:58
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -35,7 +35,7 @@ MOVE [ <replaceable class="PARAMETER">direction</replaceable> ] [ <replaceable c
<para>
<command>MOVE</command> allows the user to move the cursor position a
specified number of rows, or to the beginning or end of the cursor.
<command>MOVE ALL</command> moves to the
last row
of the cursor.
<command>MOVE ALL</command> moves to the
end
of the cursor.
<command>MOVE</command> works exactly like the <command>FETCH</command>
command, except it only repositions the cursor and does not return rows.
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment