#include <portal.h>
Data Fields | |
const char * | name |
const char * | prepStmtName |
MemoryContext | heap |
ResourceOwner | resowner |
void(* | cleanup )(Portal portal) |
SubTransactionId | createSubid |
const char * | sourceText |
const char * | commandTag |
List * | stmts |
CachedPlan * | cplan |
ParamListInfo | portalParams |
PortalStrategy | strategy |
int | cursorOptions |
PortalStatus | status |
bool | portalPinned |
QueryDesc * | queryDesc |
TupleDesc | tupDesc |
int16 * | formats |
Tuplestorestate * | holdStore |
MemoryContext | holdContext |
bool | atStart |
bool | atEnd |
bool | posOverflow |
long | portalPos |
TimestampTz | creation_time |
bool | visible |
Definition at line 114 of file portal.h.
Definition at line 171 of file portal.h.
Referenced by CreatePortal(), DoPortalRewind(), DoPortalRunFetch(), execCurrentOf(), PersistHoldablePortal(), PortalRun(), PortalRunSelect(), and PortalStart().
Definition at line 170 of file portal.h.
Referenced by CreatePortal(), DoPortalRewind(), DoPortalRunFetch(), exec_execute_message(), execCurrentOf(), PortalRunSelect(), and PortalStart().
void(* PortalData::cleanup)(Portal portal) |
Definition at line 121 of file portal.h.
Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), AtSubCleanup_Portals(), CreatePortal(), MarkPortalDone(), MarkPortalFailed(), PortalCleanup(), and PortalDrop().
const char* PortalData::commandTag |
Definition at line 131 of file portal.h.
Referenced by exec_execute_message(), FillPortalStore(), PortalDefineQuery(), PortalRun(), and PortalRunMulti().
Definition at line 133 of file portal.h.
Referenced by PortalDefineQuery(), and PortalReleaseCachedPlan().
Definition at line 122 of file portal.h.
Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), AtSubCleanup_Portals(), AtSubCommit_Portals(), CreatePortal(), PersistHoldablePortal(), and PreCommit_Portals().
Definition at line 176 of file portal.h.
Referenced by CreatePortal(), and pg_cursor().
Definition at line 139 of file portal.h.
Referenced by CreatePortal(), exec_simple_query(), pg_cursor(), PortalCreateHoldStore(), PortalRunSelect(), PortalStart(), PreCommit_Portals(), and SPI_cursor_open_internal().
Definition at line 151 of file portal.h.
Referenced by exec_describe_portal_message(), PortalSetResultFormat(), printtup_prepare_info(), printtup_startup(), and SetRemoteDestReceiverParams().
Definition at line 119 of file portal.h.
Referenced by CreatePortal().
Definition at line 159 of file portal.h.
Referenced by DoPortalRewind(), FillPortalStore(), PersistHoldablePortal(), PortalCreateHoldStore(), PortalDrop(), and RunFromStore().
Definition at line 158 of file portal.h.
Referenced by DoPortalRewind(), FillPortalStore(), PersistHoldablePortal(), PortalCreateHoldStore(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalRunSelect(), and RunFromStore().
const char* PortalData::name |
Definition at line 117 of file portal.h.
Referenced by exec_stmt_forc(), exec_stmt_open(), PersistHoldablePortal(), pg_cursor(), plperl_spi_query(), plperl_spi_query_prepared(), PLy_cursor_plan(), PLy_cursor_query(), PortalDrop(), PortalRun(), PortalRunFetch(), and printtup_startup().
Definition at line 135 of file portal.h.
Referenced by exec_execute_message(), PortalRunMulti(), PortalRunUtility(), and PortalStart().
Definition at line 143 of file portal.h.
Referenced by AtCleanup_Portals(), AtSubCleanup_Portals(), PinPortal(), PortalDrop(), PreCommit_Portals(), and UnpinPortal().
Definition at line 173 of file portal.h.
Referenced by DoPortalRewind(), DoPortalRunFetch(), PersistHoldablePortal(), PortalRunSelect(), and PortalStart().
Definition at line 172 of file portal.h.
Referenced by DoPortalRewind(), DoPortalRunFetch(), PersistHoldablePortal(), PortalRunSelect(), and PortalStart().
const char* PortalData::prepStmtName |
Definition at line 118 of file portal.h.
Referenced by exec_execute_message(), and PortalDefineQuery().
Definition at line 146 of file portal.h.
Referenced by PersistHoldablePortal(), PortalCleanup(), and PortalStart().
Definition at line 120 of file portal.h.
Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), AtSubCommit_Portals(), CreatePortal(), PersistHoldablePortal(), PortalCleanup(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalStart(), and PreCommit_Portals().
const char* PortalData::sourceText |
Definition at line 130 of file portal.h.
Referenced by exec_execute_message(), function_parse_error_transpose(), pg_cursor(), PortalDefineQuery(), PortalRunMulti(), PortalRunUtility(), and PortalStart().
Definition at line 142 of file portal.h.
Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), CreatePortal(), function_parse_error_transpose(), MarkPortalDone(), MarkPortalFailed(), PersistHoldablePortal(), PortalCleanup(), PortalDefineQuery(), PortalDrop(), PortalHashTableDeleteAll(), PortalRun(), PortalRunFetch(), PortalStart(), PreCommit_Portals(), and ThereAreNoReadyPortals().
Definition at line 132 of file portal.h.
Referenced by exec_execute_message(), FillPortalStore(), PortalDefineQuery(), PortalReleaseCachedPlan(), PortalRunMulti(), and PortalStart().
Definition at line 138 of file portal.h.
Referenced by CreatePortal(), DoPortalRunFetch(), execCurrentOf(), FetchPortalTargetList(), FillPortalStore(), PortalRun(), PortalRunFetch(), PortalStart(), and SPI_cursor_open_internal().
Definition at line 149 of file portal.h.
Referenced by cursor_to_xmlschema(), exec_describe_portal_message(), exec_stmt_return_query(), PersistHoldablePortal(), PortalSetResultFormat(), PortalStart(), query_to_xml_and_xmlschema(), query_to_xmlschema(), RunFromStore(), UtilityReturnsTuples(), and UtilityTupleDescriptor().
Definition at line 177 of file portal.h.
Referenced by CreatePortal(), exec_simple_query(), ExecuteQuery(), and pg_cursor().