Andres Freund <and...@2ndquadrant.com> writes: >> Absolutely. Probably best to save errno into a local just before the >> ereport.
> I think just resetting to edata->saved_errno is better and sufficient? -1 --- that field is nobody's business except elog.c's. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers