Re: Possible segfault when sending notification within a ProcessUtility hook

2023-12-06 Thread Anthonin Bonnefoy
> On Tue, Dec 5, 2023 at 9:03 PM Tom Lane wrote: > Why should we regard that as anything other than a bug in the > ProcessUtility hook? A failed transaction should not send any > notifies. Fair point. That was also my initial assumption but I thought that the transaction state was not available

Re: Possible segfault when sending notification within a ProcessUtility hook

2023-12-05 Thread Tom Lane
Anthonin Bonnefoy writes: > This happens when a transaction block fails and a ProcessUtility hook > sends a notification during the rollback command. Why should we regard that as anything other than a bug in the ProcessUtility hook? A failed transaction should not send any notifies. > Moving no