pgsql: Restore psql's SIGPIPE setting if popen() fails.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Restore psql's SIGPIPE setting if popen() fails.
Дата
Msg-id E1cEgC2-0000XK-K1@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Restore psql's SIGPIPE setting if popen() fails.

Ancient oversight in PageOutput(): if popen() fails, we'd better reset
the SIGPIPE handler before returning stdout, because ClosePager() won't.
Noticed while fixing the empty-PAGER issue.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cf59a8a4fe8dd83a069737ff32f1f211f352036c

Modified Files
--------------
src/bin/psql/print.c | 4 ++++
1 file changed, 4 insertions(+)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Restore psql's SIGPIPE setting if popen() fails.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Restore psql's SIGPIPE setting if popen() fails.