PostgreSQL Source Code: PortalData Struct Reference (original) (raw)

#include <[portal.h](portal%5F8h%5Fsource.html)>

Data Fields
const char * name
const char * prepStmtName
MemoryContext portalContext
ResourceOwner resowner
void(* cleanup )(Portal portal)
SubTransactionId createSubid
SubTransactionId activeSubid
int createLevel
const char * sourceText
CommandTag commandTag
QueryCompletion qc
List * stmts
CachedPlan * cplan
ParamListInfo portalParams
QueryEnvironment * queryEnv
PortalStrategy strategy
int cursorOptions
PortalStatus status
bool portalPinned
bool autoHeld
QueryDesc * queryDesc
TupleDesc tupDesc
int16 * formats
Snapshot portalSnapshot
Tuplestorestate * holdStore
MemoryContext holdContext
Snapshot holdSnapshot
bool atStart
bool atEnd
uint64 portalPos
TimestampTz creation_time
bool visible

Definition at line 115 of file portal.h.

activeSubid

atEnd

atStart

autoHeld

bool PortalData::autoHeld

cleanup

void(* PortalData::cleanup) (Portal portal)

commandTag

cplan

createLevel

int PortalData::createLevel

createSubid

creation_time

cursorOptions

int PortalData::cursorOptions

Definition at line 147 of file portal.h.

Referenced by CreatePortal(), DoPortalRewind(), exec_simple_query(), PerformCursorOpen(), PersistHoldablePortal(), pg_cursor(), PortalCreateHoldStore(), PortalRunSelect(), PortalStart(), PreCommit_Portals(), and SPI_cursor_open_internal().

formats

int16* PortalData::formats

holdContext

holdSnapshot

holdStore

name

const char* PortalData::name

Definition at line 118 of file portal.h.

Referenced by AtCleanup_Portals(), AtSubCleanup_Portals(), CreatePortal(), exec_bind_message(), exec_execute_message(), exec_stmt_forc(), exec_stmt_open(), MarkPortalActive(), pg_cursor(), plperl_spi_query(), plperl_spi_query_prepared(), PLy_cursor_plan(), PLy_cursor_query(), and PortalDrop().

portalContext

Definition at line 120 of file portal.h.

Referenced by AtAbort_Portals(), AtSubAbort_Portals(), CreatePortal(), exec_bind_message(), ExecuteQuery(), PerformCursorOpen(), PersistHoldablePortal(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalRunMulti(), PortalRunUtility(), PortalSetResultFormat(), PortalStart(), and SPI_cursor_open_internal().

portalParams

portalPinned

bool PortalData::portalPinned

portalPos

portalSnapshot

prepStmtName

const char* PortalData::prepStmtName

qc

queryDesc

queryEnv

resowner

Definition at line 121 of file portal.h.

Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), AtSubCommit_Portals(), CreatePortal(), HoldPortal(), PersistHoldablePortal(), PortalCleanup(), PortalDrop(), PortalRun(), PortalRunFetch(), PortalStart(), and PreCommit_Portals().

sourceText

const char* PortalData::sourceText

status

Definition at line 150 of file portal.h.

Referenced by AtAbort_Portals(), AtCleanup_Portals(), AtSubAbort_Portals(), CreatePortal(), function_parse_error_transpose(), HoldPinnedPortals(), MarkPortalActive(), MarkPortalDone(), MarkPortalFailed(), PersistHoldablePortal(), PortalCleanup(), PortalDefineQuery(), PortalDrop(), PortalHashTableDeleteAll(), PortalRun(), PortalRunFetch(), PortalStart(), PreCommit_Portals(), and ThereAreNoReadyPortals().

stmts

strategy

Definition at line 146 of file portal.h.

Referenced by CreatePortal(), DoPortalRunFetch(), execCurrentOf(), FetchPortalTargetList(), FillPortalStore(), HoldPinnedPortals(), PerformCursorOpen(), PortalRun(), PortalRunFetch(), PortalStart(), and SPI_cursor_open_internal().

tupDesc

visible


The documentation for this struct was generated from the following file: