PostgreSQL Source Code git master
PortalData Struct Reference

#include <portal.h>

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
 
Liststmts
 
CachedPlancplan
 
ParamListInfo portalParams
 
QueryEnvironmentqueryEnv
 
PortalStrategy strategy
 
int cursorOptions
 
PortalStatus status
 
bool portalPinned
 
bool autoHeld
 
QueryDescqueryDesc
 
TupleDesc tupDesc
 
int16formats
 
Snapshot portalSnapshot
 
TuplestorestateholdStore
 
MemoryContext holdContext
 
Snapshot holdSnapshot
 
bool atStart
 
bool atEnd
 
uint64 portalPos
 
TimestampTz creation_time
 
bool visible
 

Detailed Description

Definition at line 115 of file portal.h.

Field Documentation

◆ activeSubid

SubTransactionId PortalData::activeSubid

◆ atEnd

◆ atStart

bool PortalData::atStart

◆ autoHeld

bool PortalData::autoHeld

◆ cleanup

◆ commandTag

CommandTag PortalData::commandTag

Definition at line 137 of file portal.h.

Referenced by exec_execute_message(), and PortalDefineQuery().

◆ cplan

CachedPlan* PortalData::cplan

Definition at line 140 of file portal.h.

Referenced by PortalDefineQuery(), PortalReleaseCachedPlan(), and PortalRunUtility().

◆ createLevel

int PortalData::createLevel

◆ createSubid

◆ creation_time

TimestampTz PortalData::creation_time

Definition at line 203 of file portal.h.

Referenced by CreatePortal(), and pg_cursor().

◆ cursorOptions

◆ formats

int16* PortalData::formats

◆ holdContext

MemoryContext PortalData::holdContext

◆ holdSnapshot

Snapshot PortalData::holdSnapshot

◆ holdStore

◆ name

◆ portalContext

◆ portalParams

ParamListInfo PortalData::portalParams

Definition at line 142 of file portal.h.

Referenced by exec_execute_message(), PortalRunMulti(), PortalRunUtility(), and PortalStart().

◆ portalPinned

◆ portalPos

uint64 PortalData::portalPos

◆ portalSnapshot

Snapshot PortalData::portalSnapshot

◆ prepStmtName

const char* PortalData::prepStmtName

Definition at line 119 of file portal.h.

Referenced by exec_execute_message(), and PortalDefineQuery().

◆ qc

QueryCompletion PortalData::qc

Definition at line 138 of file portal.h.

Referenced by FillPortalStore(), PortalDefineQuery(), PortalRun(), and PortalRunMulti().

◆ queryDesc

QueryDesc* PortalData::queryDesc

◆ queryEnv

QueryEnvironment* PortalData::queryEnv

Definition at line 143 of file portal.h.

Referenced by PortalRunMulti(), PortalRunUtility(), PortalStart(), and SPI_cursor_open_internal().

◆ resowner

◆ sourceText

const char* PortalData::sourceText

◆ status

◆ stmts

◆ strategy

◆ tupDesc

◆ visible

bool PortalData::visible

Definition at line 204 of file portal.h.

Referenced by CreatePortal(), exec_simple_query(), ExecuteQuery(), and pg_cursor().


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