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

Function SPI_cursor_close

src/backend/executor/spi.c:1914–1921  ·  view source on GitHub ↗

* SPI_cursor_close() * * Close a cursor */

Source from the content-addressed store, hash-verified

1912 * Close a cursor
1913 */
1914void
1915SPI_cursor_close(Portal portal)
1916{
1917 if (!PortalIsValid(portal))
1918 elog(ERROR, "invalid portal in SPI cursor operation");
1919
1920 PortalDrop(portal, false);
1921}
1922
1923/*
1924 * Returns the Oid representing the type id for argument at argIndex. First

Callers 13

exec_stmt_forsFunction · 0.85
exec_stmt_forcFunction · 0.85
exec_stmt_dynforsFunction · 0.85
exec_stmt_closeFunction · 0.85
plperl_spi_fetchrowFunction · 0.85
plperl_spi_cursor_closeFunction · 0.85
PLy_cursor_deallocFunction · 0.85
PLy_cursor_closeFunction · 0.85
query_to_xmlschemaFunction · 0.85
tsquery_rewrite_queryFunction · 0.85
ts_stat_sqlFunction · 0.85

Calls 1

PortalDropFunction · 0.85

Tested by

no test coverage detected