summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-07-27 19:31:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-07-27 19:31:28 -0400
commit73162ee6bedbd49c9c93a9f0f54258fed2356e4f (patch)
treedbd9a1e3d50489b0c8d74d8f2bc5a3f75e3d39e4 /src/backend/utils/adt/pgstatfuncs.c
parent3262b196aa7d878993108aa6bbbfc8636784bb7e (diff)
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/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions