Onur Tirtir <Onur(dot)Tirtir(at)microsoft(dot)com> writes:
> Thank you for sharing your proposal as a patch. It looks much nicer and useful than mine.
> I've also tested it for a few cases --by injecting a memory error on purpose-- and seen that it helps reporting the problematic query.
> Should we move forward with v3 then?
OK, I pushed v3 as-is. We can refine it later if anyone has suggestions.
Thanks for the contribution!
regards, tom lane