SPI_SCROLL_CURSOR_MOVE(3pg13)
β¨ NAME β¨
okay so bestie, this is the SPI_SCROLL_CURSOR_MOVE(3pg13) manual page from the PostgreSQL 13.23 documentation π and it's literally about moving a cursor. The function is SPI_scroll_cursor_move β it's giving βskip some rowsβ main character energy, no cap.
π¦ SYNOPSIS π¦
void SPI_scroll_cursor_move(Portal portal, FetchDirection direction,
long count)
π DESCRIPTION π
SPI_scroll_cursor_move skips over some number of rows in a cursor. This is equivalent to the SQL command MOVE. periodt β¨
π ARGUMENTS π
Portal portalβ the portal containing the cursor, bestie π«ΆFetchDirection directionβ one ofFETCH_FORWARD,FETCH_BACKWARD,FETCH_ABSOLUTE, orFETCH_RELATIVE.long countβ number of rows to move forFETCH_FORWARDorFETCH_BACKWARD; absolute row number to move to forFETCH_ABSOLUTE; or relative row number to move to forFETCH_RELATIVE.
πΈ RETURN VALUE πΈ
If it's successful, SPI_processed is set as in SPI_execute. SPI_tuptable is set to NULL, since no rows are returned by this function. literally no rows, bestie π
π NOTES π
See the SQL FETCH(7) command for details of the interpretation of the direction and count parameters. iykyk π
Direction values other thanFETCH_FORWARDmay fail if the cursor's plan was not created with theCURSOR_OPT_SCROLLoption. so yeah, heads up π
mwah π that's the whole vibe. this page is from PostgreSQL 13.23, dated 2025 β and the manual name is SPI_SCROLL_CURSOR_MOVE(3pg13). see ya, bestie π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13-docs 13.23-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms