Use postmaster -i only on certain platforms.

This commit is contained in:
Bruce Momjian 2000-05-18 15:58:43 +00:00
parent feaf1fc137
commit 61f06bc2f1
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.16 2000/05/18 15:37:56 momjian Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.17 2000/05/18 15:58:43 momjian Exp $
# ----------
# Check call syntax
@ -62,8 +62,10 @@ extratests="$*"
if [ "x$hostname" = "xwin" -o "x$hostname" = "xi386-pc-qnx" ]
then
HOSTLOC="-h localhost"
USETCPIP="-i"
else
HOSTLOC=""
USETCPIP=""
fi
# ----------
@ -192,7 +194,7 @@ fi
# him some time to pass the WAL recovery code.
#----------
echo "=============== Starting regression postmaster ================"
postmaster -D $PGDATA -i -p $PGPORT $PMOPTIONS >$LOGDIR/postmaster.log 2>&1 &
postmaster -D $PGDATA $USETCPIP -p $PGPORT $PMOPTIONS >$LOGDIR/postmaster.log 2>&1 &
PMPID=$!
sleep 2