postgresql_16:6.10.1.26.4 Notes
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_scroll_cursor_move > Notes
See the SQL (see postgresql_16:7.1.147) command for details of the interpretation of the direction and count parameters.
Direction values other than FETCH_FORWARD may fail if the cursor's plan was not created with the CURSOR_OPT_SCROLL option.