File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
.\" This is -*-nroff-*-
2
2
.\" XXX standard disclaimer belongs here....
3
- .\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.2 1996/12/11 00:27:45 momjian Exp $
3
+ .\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.3 1997/03/01 15:26:42 momjian Exp $
4
4
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
5
5
.SH NAME
6
6
fetch \(em fetch instance(s) from a cursor
@@ -43,20 +43,20 @@ because the data that they store spans multiple user queries.
43
43
--
44
44
begin
45
45
declare mycursor cursor for
46
- select * from pg-user
47
- end
48
- .fi
49
- .nf
46
+ select * from pg-user;
50
47
--
51
48
--Fetch all the instances available in the cursor FOO
52
49
--
53
- fetch all in FOO
54
- .fi
55
- .nf
50
+ fetch all in FOO;
56
51
--
57
52
--Fetch 5 instances backward in the cursor FOO
58
53
--
59
- fetch backward 5 in FOO
54
+ fetch backward 5 in FOO;
55
+ --
56
+ --close
57
+ --
58
+ close foo;
59
+ end;
60
60
.fi
61
61
.SH "SEE ALSO"
62
62
begin(l),
You can’t perform that action at this time.
0 commit comments