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

Detailed Description

Definition at line 114 of file portal.h.

Field Documentation

◆ activeSubid

SubTransactionId PortalData::activeSubid

◆ atEnd

◆ atStart

◆ autoHeld

bool PortalData::autoHeld

◆ cleanup

◆ commandTag

const char* PortalData::commandTag

◆ cplan

CachedPlan* PortalData::cplan

Definition at line 137 of file portal.h.

Referenced by PortalDefineQuery(), and PortalReleaseCachedPlan().

◆ createSubid

◆ creation_time

TimestampTz PortalData::creation_time

Definition at line 193 of file portal.h.

Referenced by CreatePortal(), and pg_cursor().

◆ cursorOptions

◆ formats

◆ holdContext

MemoryContext PortalData::holdContext

◆ holdSnapshot

Snapshot PortalData::holdSnapshot

◆ holdStore

◆ name

◆ portalContext

◆ portalParams

ParamListInfo PortalData::portalParams

Definition at line 139 of file portal.h.

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

◆ portalPinned

◆ portalPos

uint64 PortalData::portalPos

◆ prepStmtName

const char* PortalData::prepStmtName

Definition at line 118 of file portal.h.

Referenced by exec_execute_message(), and PortalDefineQuery().

◆ queryDesc

QueryDesc* PortalData::queryDesc

◆ queryEnv

QueryEnvironment* PortalData::queryEnv

Definition at line 140 of file portal.h.

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

◆ resowner

◆ run_once

bool PortalData::run_once

Definition at line 145 of file portal.h.

Referenced by PortalRun(), PortalRunFetch(), and PortalRunSelect().

◆ sourceText

const char* PortalData::sourceText

◆ status

◆ stmts

◆ strategy

◆ tupDesc

◆ visible

bool PortalData::visible

Definition at line 194 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: