Heikki Linnakangas <heikki.linnakan...@enterprisedb.com> writes: > Tom Lane wrote: >> Yes. Please see the existing code in the postmaster that prints >> subprocess exit codes, and duplicate it (or perhaps refactor so you can >> avoid code duplication; though translatability of messages might limit >> what you can do there).
> Here's what I came up with. Translatability indeed makes it pretty hard, > I ended up copy-pasting. Looks reasonable to me. One possible objection is that someone running in "terse" logging mode would not get any information about the child process's exit code, since errdetail would be suppressed in that case. But we can probably live with that --- as far as I can tell, few people use terse-mode logging. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs