Unsupported versions: 7.3 / 7.2
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

SPI_cursor_move

Name

SPI_cursor_move -- Moves a cursor

Synopsis

SPI_cursor_move(portal,
forward,
count)

Inputs

Portal portal

Portal containing cursor

bool forward

True for move forward, false for move backward

int count

Maximum number of rows to move

Outputs

None

Description

SPI_cursor_move skips over some number of rows in a cursor. This is equivalent to the SQL command MOVE.