4 SPI_cursor_move — move a cursor
8 void SPI_cursor_move(Portal portal, bool forward, long count)
12 SPI_cursor_move skips over some number of rows in a cursor. This is
13 equivalent to a subset of the SQL command MOVE (see
14 SPI_scroll_cursor_move for more functionality).
19 portal containing the cursor
22 true for move forward, false for move backward
25 maximum number of rows to move
29 Moving backward may fail if the cursor's plan was not created with the
30 CURSOR_OPT_SCROLL option.