FETCH help - Mailing list pgsql-hackers

From SAKAIDA Masaaki
Subject FETCH help
Date
Msg-id 391A59061FE.51D6SAKAIDA@smtp.psn.ne.jp
Whole thread Raw
Responses Re: FETCH help  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Hi,
 The FETCH help seems to be odd in PostgreSQL-7.0.

prompt> psql
postgres=# \h fetch
Command:     FETCH
Description: Gets rows using a cursor
Syntax:
FETCH [ selector ] [ count ] { IN | FROM } cursor
FETCH [ RELATIVE ] [ { [ # | ALL | NEXT | PRIOR ] } ] FROM ] cursor
~~~~~~~
 Probably the next syntax would be correct, right ?
-----
Syntax:
FETCH [ FORWARD | BACKWARD | RELATIVE ]     [ { [ # | ALL | NEXT | PRIOR ] } ] { IN | FROM } cursor
FETCH cursor
-----

--
Regards,
SAKAIDA Masaaki  -- Osaka, Japan




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: misc questions
Next
From: Vince Vielhaber
Date:
Subject: message in logs