aboutsummaryrefslogtreecommitdiff
path: root/doc/man/fetch.l
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/fetch.l')
-rw-r--r--doc/man/fetch.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/fetch.l b/doc/man/fetch.l
index c5a867ac45e..8e9aadcdc53 100644
--- a/doc/man/fetch.l
+++ b/doc/man/fetch.l
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/doc/man/Attic/fetch.l,v 1.1.1.1 1996/08/18 22:14:24 scrappy Exp $
+.\" $Header: /cvsroot/pgsql/doc/man/Attic/fetch.l,v 1.2 1996/10/03 15:49:53 momjian Exp $
.TH FETCH SQL 01/23/93 Postgres95 Postgres95
.SH NAME
fetch \(em fetch instance(s) from a cursor
@@ -31,7 +31,7 @@ cursor updates back to base classes is impossible in general as with
view updates. Consequently, users must issue explicit replace
commands to update data.
.PP
-Portals may only be used inside of transaction blocks marked by
+Cursors may only be used inside of transaction blocks marked by
.IR begin (l)
and
.IR end (l)
@@ -42,19 +42,19 @@ because the data that they store spans multiple user queries.
--set up and use a cursor
--
begin
- declare myportal cursor for
+ declare mycursor cursor for
select * from pg-user
end
.fi
.nf
--
---Fetch all the instances available in the portal FOO
+--Fetch all the instances available in the cursor FOO
--
fetch all in FOO
.fi
.nf
--
---Fetch 5 instances backward in the portal FOO
+--Fetch 5 instances backward in the cursor FOO
--
fetch backward 5 in FOO
.fi