> On Tue, Dec 5, 2023 at 9:03 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 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 from a hook as I've missed
IsAbortedTransactionBlockState.
I will rely on IsAbortedTransactionBlockState to avoid this case,
thanks for the input.
Regards,
Anthonin.