diff --git a/src/backend/utils/resowner/README b/src/backend/utils/resowner/README index 2998f6bb36..6a0391dfc8 100644 --- a/src/backend/utils/resowner/README +++ b/src/backend/utils/resowner/README @@ -61,12 +61,13 @@ ResourceOwner transfers lock ownership to the parent instead of actually releasing the lock, if isCommit is true. Currently, ResourceOwners contain direct support for recording ownership of -buffer pins, lmgr locks, and catcache, relcache, plancache, tupdesc, and -snapshot references. Other objects can be associated with a ResourceOwner by -recording the address of the owning ResourceOwner in such an object. There is -an API for other modules to get control during ResourceOwner release, so that -they can scan their own data structures to find the objects that need to be -deleted. +buffer pins, lmgr locks, and catcache, relcache, plancache, tupdesc, snapshot +references, temporary files, dynamic shared memory segments, JIT contexts, +cryptohash contexts, and HMAX contexts. Other objects can be associated with +a ResourceOwner by recording the address of the owning ResourceOwner in such +an object. There is an API for other modules to get control during +ResourceOwner release, so that they can scan their own data structures to find +the objects that need to be deleted. Whenever we are inside a transaction, the global variable CurrentResourceOwner shows which resource owner should be assigned