Eneboo - Documentación para desarrolladores
'typedefs' | Enumeraciones | Funciones | Variables
Referencia del Archivo src/libpq/include/utils/resowner.h
#include "storage/buf.h"
#include "utils/catcache.h"
#include "utils/rel.h"

Ir al código fuente de este archivo.

'typedefs'

typedef struct ResourceOwnerData * ResourceOwner
typedef void(* ResourceReleaseCallback )(ResourceReleasePhase phase, bool isCommit, bool isTopLevel, void *arg)

Enumeraciones

enum  ResourceReleasePhase { RESOURCE_RELEASE_BEFORE_LOCKS, RESOURCE_RELEASE_LOCKS, RESOURCE_RELEASE_AFTER_LOCKS }

Funciones

ResourceOwner ResourceOwnerCreate (ResourceOwner parent, const char *name)
void ResourceOwnerRelease (ResourceOwner owner, ResourceReleasePhase phase, bool isCommit, bool isTopLevel)
void ResourceOwnerDelete (ResourceOwner owner)
ResourceOwner ResourceOwnerGetParent (ResourceOwner owner)
void ResourceOwnerNewParent (ResourceOwner owner, ResourceOwner newparent)
void RegisterResourceReleaseCallback (ResourceReleaseCallback callback, void *arg)
void UnregisterResourceReleaseCallback (ResourceReleaseCallback callback, void *arg)
void ResourceOwnerEnlargeBuffers (ResourceOwner owner)
void ResourceOwnerRememberBuffer (ResourceOwner owner, Buffer buffer)
void ResourceOwnerForgetBuffer (ResourceOwner owner, Buffer buffer)
void ResourceOwnerEnlargeCatCacheRefs (ResourceOwner owner)
void ResourceOwnerRememberCatCacheRef (ResourceOwner owner, HeapTuple tuple)
void ResourceOwnerForgetCatCacheRef (ResourceOwner owner, HeapTuple tuple)
void ResourceOwnerEnlargeCatCacheListRefs (ResourceOwner owner)
void ResourceOwnerRememberCatCacheListRef (ResourceOwner owner, CatCList *list)
void ResourceOwnerForgetCatCacheListRef (ResourceOwner owner, CatCList *list)
void ResourceOwnerEnlargeRelationRefs (ResourceOwner owner)
void ResourceOwnerRememberRelationRef (ResourceOwner owner, Relation rel)
void ResourceOwnerForgetRelationRef (ResourceOwner owner, Relation rel)

Variables

DLLIMPORT ResourceOwner CurrentResourceOwner
DLLIMPORT ResourceOwner CurTransactionResourceOwner
DLLIMPORT ResourceOwner TopTransactionResourceOwner

Documentación de los 'typedefs'

typedef struct ResourceOwnerData* ResourceOwner
typedef void(* ResourceReleaseCallback)(ResourceReleasePhase phase, bool isCommit, bool isTopLevel, void *arg)

Documentación de las enumeraciones

Valores de enumeraciones:
RESOURCE_RELEASE_BEFORE_LOCKS 
RESOURCE_RELEASE_LOCKS 
RESOURCE_RELEASE_AFTER_LOCKS 

Documentación de las funciones

void RegisterResourceReleaseCallback ( ResourceReleaseCallback  callback,
void *  arg 
)
ResourceOwner ResourceOwnerCreate ( ResourceOwner  parent,
const char *  name 
)
void ResourceOwnerDelete ( ResourceOwner  owner)
void ResourceOwnerEnlargeBuffers ( ResourceOwner  owner)
void ResourceOwnerEnlargeCatCacheListRefs ( ResourceOwner  owner)
void ResourceOwnerEnlargeCatCacheRefs ( ResourceOwner  owner)
void ResourceOwnerEnlargeRelationRefs ( ResourceOwner  owner)
void ResourceOwnerForgetBuffer ( ResourceOwner  owner,
Buffer  buffer 
)
void ResourceOwnerForgetCatCacheListRef ( ResourceOwner  owner,
CatCList list 
)
void ResourceOwnerForgetCatCacheRef ( ResourceOwner  owner,
HeapTuple  tuple 
)
void ResourceOwnerForgetRelationRef ( ResourceOwner  owner,
Relation  rel 
)
ResourceOwner ResourceOwnerGetParent ( ResourceOwner  owner)
void ResourceOwnerNewParent ( ResourceOwner  owner,
ResourceOwner  newparent 
)
void ResourceOwnerRelease ( ResourceOwner  owner,
ResourceReleasePhase  phase,
bool  isCommit,
bool  isTopLevel 
)
void ResourceOwnerRememberBuffer ( ResourceOwner  owner,
Buffer  buffer 
)
void ResourceOwnerRememberCatCacheListRef ( ResourceOwner  owner,
CatCList list 
)
void ResourceOwnerRememberCatCacheRef ( ResourceOwner  owner,
HeapTuple  tuple 
)
void ResourceOwnerRememberRelationRef ( ResourceOwner  owner,
Relation  rel 
)
void UnregisterResourceReleaseCallback ( ResourceReleaseCallback  callback,
void *  arg 
)

Documentación de las variables

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'