MCPcopy Create free account
hub / github.com/apache/cloudberry / SPI_scroll_cursor_fetch

Function SPI_scroll_cursor_fetch

src/backend/executor/spi.c:1887–1894  ·  view source on GitHub ↗

* SPI_scroll_cursor_fetch() * * Fetch rows in a scrollable cursor */

Source from the content-addressed store, hash-verified

1885 * Fetch rows in a scrollable cursor
1886 */
1887void
1888SPI_scroll_cursor_fetch(Portal portal, FetchDirection direction, long count)
1889{
1890 _SPI_cursor_operation(portal,
1891 direction, count,
1892 CreateDestReceiver(DestSPI));
1893 /* we know that the DestSPI receiver doesn't need a destroy call */
1894}
1895
1896
1897/*

Callers 1

exec_stmt_fetchFunction · 0.85

Calls 2

_SPI_cursor_operationFunction · 0.85
CreateDestReceiverFunction · 0.85

Tested by

no test coverage detected