diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-27 19:31:24 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-27 19:31:24 -0400 |
commit | 022e8786da07d2859956d62b71297428a69f04f3 (patch) | |
tree | db4fcb33b2608700c8318c0b08dca91fe310c6c1 /src/backend/utils/adt/xml.c | |
parent | 3d980e15eeeecc4cc240c45dc5abb5567adce4bb (diff) | |
download | postgresql-022e8786da07d2859956d62b71297428a69f04f3.tar.gz postgresql-022e8786da07d2859956d62b71297428a69f04f3.zip |
Improve reporting of error situations in find_other_exec().
This function suppressed any stderr output from the called program, which
is unnecessary in the normal case and unhelpful in error cases. It also
gave a rather opaque message along the lines of "fgets failure: Success"
in case the called program failed to return anything on stdout. Since
we've seen multiple reports of people not understanding what's wrong when
pg_ctl reports this, improve the message.
Back-patch to all active branches.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions