diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-27 19:31:13 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-27 19:31:13 -0400 |
commit | 9ae8ebe0b221d9d547adfbfae74bd62e73e39fcd (patch) | |
tree | dfc85983a56abbf4a69b64d7abff4957935af2d4 /src/backend/nodes/nodeFuncs.c | |
parent | c9a2532c832cdc87dfa62bfdfd247707e3906e00 (diff) | |
download | postgresql-9ae8ebe0b221d9d547adfbfae74bd62e73e39fcd.tar.gz postgresql-9ae8ebe0b221d9d547adfbfae74bd62e73e39fcd.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/nodes/nodeFuncs.c')
0 files changed, 0 insertions, 0 deletions