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

Function SPI_cursor_fetch

src/backend/executor/spi.c:1858–1865  ·  view source on GitHub ↗

* SPI_cursor_fetch() * * Fetch rows in a cursor */

Source from the content-addressed store, hash-verified

1856 * Fetch rows in a cursor
1857 */
1858void
1859SPI_cursor_fetch(Portal portal, bool forward, long count)
1860{
1861 _SPI_cursor_operation(portal,
1862 forward ? FETCH_FORWARD : FETCH_BACKWARD, count,
1863 CreateDestReceiver(DestSPI));
1864 /* we know that the DestSPI receiver doesn't need a destroy call */
1865}
1866
1867
1868/*

Callers 8

exec_for_queryFunction · 0.85
plperl_spi_fetchrowFunction · 0.85
PLy_cursor_iternextFunction · 0.85
PLy_cursor_fetchFunction · 0.85
cursor_to_xmlFunction · 0.85
tsquery_rewrite_queryFunction · 0.85
ts_stat_sqlFunction · 0.85
fetch_rowsFunction · 0.85

Calls 2

_SPI_cursor_operationFunction · 0.85
CreateDestReceiverFunction · 0.85

Tested by

no test coverage detected