pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -

pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -

pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -

pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -

pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -

pgsql: Preserve CurrentMemoryContext across notify and sinval interrupt

2024-07-01 Thread Tom Lane
Preserve CurrentMemoryContext across notify and sinval interrupts. ProcessIncomingNotify is called from the main processing loop that normally runs in MessageContext. That outer-loop code assumes that whatever it allocates will be cleaned up when we're done processing the current client message -