212 #define PortalIsValid(p) PointerIsValid(p)
240 const char *prepStmtName,
241 const char *sourceText,
void AtAbort_Portals(void)
void AtSubAbort_Portals(SubTransactionId mySubid, SubTransactionId parentSubid, ResourceOwner myXactOwner, ResourceOwner parentXactOwner)
void EnablePortalManager(void)
struct PortalData * Portal
void MarkPortalDone(Portal portal)
void PinPortal(Portal portal)
Portal CreateNewPortal(void)
bool PreCommit_Portals(bool isPrepare)
void MarkPortalFailed(Portal portal)
void UnpinPortal(Portal portal)
void HoldPinnedPortals(void)
void MarkPortalActive(Portal portal)
void PortalDrop(Portal portal, bool isTopCommit)
bool ThereAreNoReadyPortals(void)
Portal GetPortalByName(const char *name)
void AtSubCommit_Portals(SubTransactionId mySubid, SubTransactionId parentSubid, int parentLevel, ResourceOwner parentXactOwner)
void AtCleanup_Portals(void)
void PortalDefineQuery(Portal portal, const char *prepStmtName, const char *sourceText, CommandTag commandTag, List *stmts, CachedPlan *cplan)
void PortalHashTableDeleteAll(void)
Portal CreatePortal(const char *name, bool allowDup, bool dupSilent)
void AtSubCleanup_Portals(SubTransactionId mySubid)
void PortalErrorCleanup(void)
void ForgetPortalSnapshots(void)
PlannedStmt * PortalGetPrimaryStmt(Portal portal)
void PortalCreateHoldStore(Portal portal)
struct PortalData PortalData
SubTransactionId createSubid
SubTransactionId activeSubid
TimestampTz creation_time
MemoryContext holdContext
QueryEnvironment * queryEnv
MemoryContext portalContext
ParamListInfo portalParams
const char * prepStmtName
Tuplestorestate * holdStore
void(* cleanup)(Portal portal)