pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Restore psql's SIGPIPE setting if popen() fails. 6+ messages / 1 participants [nested] [flat]
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/93c78ba19b378b4b54dad5ceb4fdf063bb0998e1 Modified Files -------------- src/bin/psql/print.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b7e1ae2328f7d5a88d8916d78b4561d8ef16f99b Modified Files -------------- src/fe_utils/print.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/433e65c2bd907723a5d93b3f2ff0bdbc77a0b625 Modified Files -------------- src/bin/psql/print.c | 4 ++++ 1 file changed, 4 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/29babe981cba76d934aa4936ca393ddd2894c4e7 Modified Files -------------- src/fe_utils/print.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Restore psql's SIGPIPE setting if popen() fails. @ 2016-12-07 17:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2016-12-07 17:39 UTC (permalink / raw) To: 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_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/311bc147ff0924b651f36910925a163c4f3b4a6c Modified Files -------------- src/bin/psql/print.c | 4 ++++ 1 file changed, 4 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2016-12-07 17:39 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us> 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us> 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us> 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us> 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us> 2016-12-07 17:39 pgsql: Restore psql's SIGPIPE setting if popen() fails. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox