pgsql: Improve reporting of error situations in find_other_exec().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve reporting of error situations in find_other_exec().
Дата
Msg-id E1Suu0t-0004On-TE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/73162ee6bedbd49c9c93a9f0f54258fed2356e4f

Modified Files
--------------
src/port/exec.c |   13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve reporting of error situations in find_other_exec().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve reporting of error situations in find_other_exec().