62 #define RELEASE_PRIO_BUFFER_IOS 100
63 #define RELEASE_PRIO_BUFFER_PINS 200
64 #define RELEASE_PRIO_RELCACHE_REFS 300
65 #define RELEASE_PRIO_DSMS 400
66 #define RELEASE_PRIO_JIT_CONTEXTS 500
67 #define RELEASE_PRIO_CRYPTOHASH_CONTEXTS 600
68 #define RELEASE_PRIO_HMAC_CONTEXTS 700
71 #define RELEASE_PRIO_CATCACHE_REFS 100
72 #define RELEASE_PRIO_CATCACHE_LIST_REFS 200
73 #define RELEASE_PRIO_PLANCACHE_REFS 300
74 #define RELEASE_PRIO_TUPDESC_REFS 400
75 #define RELEASE_PRIO_SNAPSHOT_REFS 500
76 #define RELEASE_PRIO_FILES 600
77 #define RELEASE_PRIO_WAITEVENTSETS 700
80 #define RELEASE_PRIO_FIRST 1
81 #define RELEASE_PRIO_LAST UINT32_MAX
static void PGresult * res
void ResourceOwnerNewParent(ResourceOwner owner, ResourceOwner newparent)
void ResourceOwnerRememberLock(ResourceOwner owner, struct LOCALLOCK *locallock)
struct ResourceOwnerDesc ResourceOwnerDesc
PGDLLIMPORT ResourceOwner TopTransactionResourceOwner
void UnregisterResourceReleaseCallback(ResourceReleaseCallback callback, void *arg)
ResourceOwner ResourceOwnerCreate(ResourceOwner parent, const char *name)
void ReleaseAuxProcessResources(bool isCommit)
ResourceOwner ResourceOwnerGetParent(ResourceOwner owner)
@ RESOURCE_RELEASE_BEFORE_LOCKS
@ RESOURCE_RELEASE_AFTER_LOCKS
PGDLLIMPORT ResourceOwner AuxProcessResourceOwner
uint32 ResourceReleasePriority
void CreateAuxProcessResourceOwner(void)
void ResourceOwnerRelease(ResourceOwner owner, ResourceReleasePhase phase, bool isCommit, bool isTopLevel)
PGDLLIMPORT ResourceOwner CurTransactionResourceOwner
void ResourceOwnerForgetLock(ResourceOwner owner, struct LOCALLOCK *locallock)
void RegisterResourceReleaseCallback(ResourceReleaseCallback callback, void *arg)
void ResourceOwnerForget(ResourceOwner owner, Datum value, const ResourceOwnerDesc *kind)
void ResourceOwnerReleaseAllOfKind(ResourceOwner owner, const ResourceOwnerDesc *kind)
void ResourceOwnerDelete(ResourceOwner owner)
PGDLLIMPORT ResourceOwner CurrentResourceOwner
struct ResourceOwnerData * ResourceOwner
void ResourceOwnerRemember(ResourceOwner owner, Datum value, const ResourceOwnerDesc *kind)
void(* ResourceReleaseCallback)(ResourceReleasePhase phase, bool isCommit, bool isTopLevel, void *arg)
void ResourceOwnerEnlarge(ResourceOwner owner)
ResourceReleasePhase release_phase
void(* ReleaseResource)(Datum res)
ResourceReleasePriority release_priority
static void callback(struct sockaddr *addr, struct sockaddr *mask, void *unused)