#include "executor/execdesc.h"
#include "nodes/memnodes.h"
#include "utils/resowner.h"
#include "utils/tuplestore.h"
Ir al código fuente de este archivo.
Clases |
struct | PortalData |
'defines' |
#define | PortalIsValid(p) PointerIsValid(p) |
#define | PortalGetQueryDesc(portal) ((portal)->queryDesc) |
#define | PortalGetHeapMemory(portal) ((portal)->heap) |
'typedefs' |
typedef enum PortalStrategy | PortalStrategy |
typedef enum PortalStatus | PortalStatus |
typedef struct PortalData | PortalData |
Enumeraciones |
enum | PortalStrategy { PORTAL_ONE_SELECT,
PORTAL_UTIL_SELECT,
PORTAL_MULTI_QUERY
} |
enum | PortalStatus {
PORTAL_NEW,
PORTAL_READY,
PORTAL_ACTIVE,
PORTAL_DONE,
PORTAL_FAILED
} |
Funciones |
void | EnablePortalManager (void) |
bool | CommitHoldablePortals (void) |
bool | PrepareHoldablePortals (void) |
void | AtCommit_Portals (void) |
void | AtAbort_Portals (void) |
void | AtCleanup_Portals (void) |
void | AtSubCommit_Portals (SubTransactionId mySubid, SubTransactionId parentSubid, ResourceOwner parentXactOwner) |
void | AtSubAbort_Portals (SubTransactionId mySubid, SubTransactionId parentSubid, ResourceOwner parentXactOwner) |
void | AtSubCleanup_Portals (SubTransactionId mySubid) |
Portal | CreatePortal (const char *name, bool allowDup, bool dupSilent) |
Portal | CreateNewPortal (void) |
void | PortalDrop (Portal portal, bool isTopCommit) |
void | DropDependentPortals (MemoryContext queryContext) |
Portal | GetPortalByName (const char *name) |
void | PortalDefineQuery (Portal portal, const char *sourceText, const char *commandTag, List *parseTrees, List *planTrees, MemoryContext queryContext) |
void | PortalCreateHoldStore (Portal portal) |
Documentación de los 'defines'
#define PortalGetHeapMemory |
( |
|
portal | ) |
((portal)->heap) |
#define PortalGetQueryDesc |
( |
|
portal | ) |
((portal)->queryDesc) |
#define PortalIsValid |
( |
|
p | ) |
PointerIsValid(p) |
Documentación de los 'typedefs'
Documentación de las enumeraciones
- Valores de enumeraciones:
PORTAL_NEW |
|
PORTAL_READY |
|
PORTAL_ACTIVE |
|
PORTAL_DONE |
|
PORTAL_FAILED |
|
- Valores de enumeraciones:
PORTAL_ONE_SELECT |
|
PORTAL_UTIL_SELECT |
|
PORTAL_MULTI_QUERY |
|
Documentación de las funciones
void AtAbort_Portals |
( |
void |
| ) |
|
void AtCleanup_Portals |
( |
void |
| ) |
|
void AtCommit_Portals |
( |
void |
| ) |
|
bool CommitHoldablePortals |
( |
void |
| ) |
|
Portal CreateNewPortal |
( |
void |
| ) |
|
Portal CreatePortal |
( |
const char * |
name, |
|
|
bool |
allowDup, |
|
|
bool |
dupSilent |
|
) |
| |
void EnablePortalManager |
( |
void |
| ) |
|
Portal GetPortalByName |
( |
const char * |
name | ) |
|
void PortalCreateHoldStore |
( |
Portal |
portal | ) |
|
void PortalDefineQuery |
( |
Portal |
portal, |
|
|
const char * |
sourceText, |
|
|
const char * |
commandTag, |
|
|
List * |
parseTrees, |
|
|
List * |
planTrees, |
|
|
MemoryContext |
queryContext |
|
) |
| |
void PortalDrop |
( |
Portal |
portal, |
|
|
bool |
isTopCommit |
|
) |
| |
bool PrepareHoldablePortals |
( |
void |
| ) |
|