#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'
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 ResourceOwnerForgetBuffer |
( |
ResourceOwner |
owner, |
|
|
Buffer |
buffer |
|
) |
| |
void ResourceOwnerForgetCatCacheRef |
( |
ResourceOwner |
owner, |
|
|
HeapTuple |
tuple |
|
) |
| |
void ResourceOwnerRememberBuffer |
( |
ResourceOwner |
owner, |
|
|
Buffer |
buffer |
|
) |
| |
void ResourceOwnerRememberCatCacheRef |
( |
ResourceOwner |
owner, |
|
|
HeapTuple |
tuple |
|
) |
| |
Documentación de las variables