PostgreSQL
Description
SPI_scroll_cursor_fetch
fetches some rows from a cursor. This is equivalent to the SQL command FETCH
.
Arguments
- `Portal +`_`+portal`_
-
portal containing the cursor
- `FetchDirection +`_`+direction`_
-
one of
FETCH_FORWARD
,FETCH_BACKWARD
,FETCH_ABSOLUTE
orFETCH_RELATIVE
- `long +`_`+count`_
-
number of rows to fetch for
FETCH_FORWARD
orFETCH_BACKWARD
; absolute row number to fetch forFETCH_ABSOLUTE
; or relative row number to fetch forFETCH_RELATIVE
Submit correction
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.
Copyright © 1996-2024 The PostgreSQL Global Development Group