On Wed, Apr 17, 2024 at 1:04 PM Sharique Muhammed
wrote:
> Hi,
>
> I was looking for a pattern to destroy a hashtable (dynahash).allocated
> in TopMemoryContext
> I found one pattern : create_seq_hashtable uses TopMemoryContext
> memory context to create hash table. It calls hash_destroy in
> R
Hi,
I was looking for a pattern to destroy a hashtable (dynahash).allocated
in TopMemoryContext
I found one pattern : create_seq_hashtable uses TopMemoryContext
memory context to create hash table. It calls hash_destroy in
ResetSequenceCaches. hash_destroy will destroy the memory
context(TopMemo