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
 
CommandTag commandTag
 
QueryCompletion qc
 
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 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 136 of file portal.h.

Referenced by exec_execute_message(), and PortalDefineQuery().

◆ cplan

CachedPlan* PortalData::cplan

Definition at line 139 of file portal.h.

Referenced by PortalDefineQuery(), and PortalReleaseCachedPlan().

◆ createSubid

◆ creation_time

TimestampTz PortalData::creation_time

Definition at line 195 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 141 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 119 of file portal.h.

Referenced by exec_execute_message(), and PortalDefineQuery().

◆ qc

QueryCompletion PortalData::qc

Definition at line 137 of file portal.h.

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

◆ queryDesc

QueryDesc* PortalData::queryDesc

◆ queryEnv

QueryEnvironment* PortalData::queryEnv

Definition at line 142 of file portal.h.

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

◆ resowner

◆ run_once

bool PortalData::run_once

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