diff options
author | Noah Misch <noah@leadboat.com> | 2017-12-16 10:03:35 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-12-16 10:03:35 -0800 |
commit | c757a3da0af0e5eb636eeee2af6602d279162b0a (patch) | |
tree | 24163e0234593c82df48d8573be6403019b9d0b2 /src/backend/utils/adt/json.c | |
parent | 997071691f66dfe92e97e6b4e3d29d153317be31 (diff) | |
download | postgresql-c757a3da0af0e5eb636eeee2af6602d279162b0a.tar.gz postgresql-c757a3da0af0e5eb636eeee2af6602d279162b0a.zip |
Avoid and detect SIGPIPE race in TAP tests.
Don't write to stdin of a psql process that could have already exited
with an authentication failure. Buildfarm members crake and mandrill
have failed once by doing so. Ignore SIGPIPE in all TAP tests.
Back-patch to v10, where these tests were introduced.
Reviewed by Michael Paquier.
Discussion: https://postgr.es/m/20171209210203.GC3362632@rfd.leadboat.com
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions