aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-12-07 12:39:24 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-12-07 12:39:24 -0500
commitb7e1ae2328f7d5a88d8916d78b4561d8ef16f99b (patch)
treee6f448b051f8d7e28f1f2b50b4f646915713a9ff /src/include/utils/builtins.h
parent18f8f784cbbf96ef77eb8943b466b26605824c14 (diff)
downloadpostgresql-b7e1ae2328f7d5a88d8916d78b4561d8ef16f99b.tar.gz
postgresql-b7e1ae2328f7d5a88d8916d78b4561d8ef16f99b.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/include/utils/builtins.h')
0 files changed, 0 insertions, 0 deletions