PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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
 
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
 

Detailed Description

Definition at line 115 of file portal.h.

Field Documentation

◆ activeSubid

SubTransactionId PortalData::activeSubid

◆ atEnd

◆ atStart

◆ autoHeld

bool PortalData::autoHeld

◆ cleanup

◆ commandTag

CommandTag PortalData::commandTag

Definition at line 137 of file portal.h.

Referenced by exec_bind_message(), 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

Definition at line 161 of file portal.h.

Referenced by exec_describe_portal_message(), PortalSetResultFormat(), and printtup_startup().

◆ 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

◆ 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: