Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit799755b

Browse files
committed
Fix example so it works.
1 parent7e6aeb5 commit799755b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎src/man/fetch.l

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" 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 $
44
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
55
.SH NAME
66
fetch\(em fetch instance(s) from a cursor
@@ -43,20 +43,20 @@ because the data that they store spans multiple user queries.
4343
--
4444
begin
4545
declare mycursor cursor for
46-
select * from pg-user
47-
end
48-
.fi
49-
.nf
46+
select * from pg-user;
5047
--
5148
--Fetch all the instances available in the cursor FOO
5249
--
53-
fetch all in FOO
54-
.fi
55-
.nf
50+
fetch all in FOO;
5651
--
5752
--Fetch 5 instances backward in the cursor FOO
5853
--
59-
fetch backward 5 in FOO
54+
fetch backward 5 in FOO;
55+
--
56+
--close
57+
--
58+
close foo;
59+
end;
6060
.fi
6161
.SH "SEE ALSO"
6262
begin(l),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp