FETCH help

From: SAKAIDA Masaaki <sakaida(at)psn(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: FETCH help
Date: 2000-05-11 06:53:58
Message-ID: 391A59061FE.51D6SAKAIDA@smtp.psn.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lincoln Yeoh 2000-05-11 07:32:27 Dumping and reloading stuff in 6.5.3
Previous Message Tom Lane 2000-05-11 06:26:50 Re: misc questions