mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Revert "Secure Unix-domain sockets of "make check" temporary clusters."
About half of the buildfarm members use too-long directory names, strongly suggesting that this approach is a dead end.
This commit is contained in:
@ -22,6 +22,8 @@ case $testhost in
|
||||
*) LISTEN_ADDRESSES="" ;;
|
||||
esac
|
||||
|
||||
POSTMASTER_OPTS="-F -c listen_addresses=$LISTEN_ADDRESSES"
|
||||
|
||||
temp_root=$PWD/tmp_check
|
||||
|
||||
if [ "$1" = '--install' ]; then
|
||||
@ -77,14 +79,9 @@ PGSERVICE=""; unset PGSERVICE
|
||||
PGSSLMODE=""; unset PGSSLMODE
|
||||
PGREQUIRESSL=""; unset PGREQUIRESSL
|
||||
PGCONNECT_TIMEOUT=""; unset PGCONNECT_TIMEOUT
|
||||
PGHOST=""; unset PGHOST
|
||||
PGHOSTADDR=""; unset PGHOSTADDR
|
||||
|
||||
# Select a socket directory, similarly to pg_regress.c
|
||||
PGHOST=${PG_REGRESS_SOCK_DIR-$PGDATA}
|
||||
export PGHOST
|
||||
|
||||
POSTMASTER_OPTS="-F -c listen_addresses=$LISTEN_ADDRESSES -k \"$PGHOST\""
|
||||
|
||||
logdir=$PWD/log
|
||||
rm -rf "$logdir"
|
||||
mkdir "$logdir"
|
||||
|
Reference in New Issue
Block a user