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