aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-04-07 19:59:27 +0900
committerMichael Paquier <michael@paquier.xyz>2021-04-07 19:59:27 +0900
commit92273d48771a76fdd8e8d8f7fd7b7f6dcfb86d92 (patch)
tree08f01a615f65892a763e66f68fd900eecdc3a17c /src/backend/utils/adt/formatting.c
parentdd5b7e486a4f90b54db62e57b84b81003c0d032d (diff)
downloadpostgresql-92273d48771a76fdd8e8d8f7fd7b7f6dcfb86d92.tar.gz
postgresql-92273d48771a76fdd8e8d8f7fd7b7f6dcfb86d92.zip
Fix potential rare failure in the kerberos TAP tests
Instead of writing a query to psql's stdin, which can cause a failure where psql exits before writing, reporting a write failure with a broken pipe, this changes the logic to use -c. This was not seen in the buildfarm as no animals with a sensitive environment are running the kerberos tests, but let's be safe. HEAD is able to handle the situation as of 6d41dd0 for all the test suites doing connection checks. f44b9b6 has fixed the same problem for the LDAP tests. Discussion: https://postgr.es/m/YGu7ceWAiSNQDgH5@paquier.xyz Backpatch-through: 11
Diffstat (limited to 'src/backend/utils/adt/formatting.c')
0 files changed, 0 insertions, 0 deletions