summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2019-11-26 16:23:00 -0500
committerAndrew Dunstan <andrew@dunslane.net>2019-11-26 16:32:06 -0500
commit792dba73c8f30528e51c4967d3be8ec4bdc5234b (patch)
treea984e68ab1f6fe5a86ff962c572771cf2872ca09 /src/backend/access/gist/gist.c
parent553d2ec2710be5ae304c40134643c8f6d754af67 (diff)
downloadpostgresql-792dba73c8f30528e51c4967d3be8ec4bdc5234b.tar.gz
Fix closing stdin in TestLib.pm
Commit 9af34f3c6b naively assumed that all non-windows platforms would have pseudoterminals and that perl would have IO::Pty. Such is not the case. Instead of assumung anything, test for the presence of IO::Pty and only use code that might depend on it if it's present. The test result is exposed in $TestLib::have_io_pty so that it can be conveniently used in SKIP tests. Discussion: https://postgr.es/m/20191126044110.GB5435@paquier.xyz
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions