Skip to content

Commit 54dc169

Browse files
committed
Explicitly reset memory context
Attaching memory reset callback to MessageContext is wrong as for background workers that use SPI for query execution such context doesn't exist. There is no other context which lifetime matches our needs, so instead reset our memory context explicitly when we no longer need its data.
1 parent b6ffd37 commit 54dc169

1 file changed

Lines changed: 174 additions & 160 deletions

File tree

0 commit comments

Comments
 (0)