diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-07 12:39:24 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-07 12:39:24 -0500 |
commit | 93c78ba19b378b4b54dad5ceb4fdf063bb0998e1 (patch) | |
tree | b2c08e1379712cda21f351ec54ffcb7ecd9b5f72 /src/backend/utils/adt/array_userfuncs.c | |
parent | 370c7a863aa7410029d1406a43871722b1f9a8af (diff) | |
download | postgresql-93c78ba19b378b4b54dad5ceb4fdf063bb0998e1.tar.gz postgresql-93c78ba19b378b4b54dad5ceb4fdf063bb0998e1.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions