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.
src/port/exec.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
pgsql-committers by date
|Next:||From: Bruce Momjian||Date: 2012-07-30 14:16:13|
|Subject: pgsql: Now that the diskchecker.pl author has updated the downloadlink|
|Previous:||From: Bruce Momjian||Date: 2012-07-27 01:25:41|
|Subject: pgsql: Update doc mention of diskchecker.pl to add URL for script;reta|