Use postmaster -i only on certain platforms.
This commit is contained in:
parent
feaf1fc137
commit
61f06bc2f1
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Check call syntax
|
||||||
@ -62,8 +62,10 @@ extratests="$*"
|
|||||||
if [ "x$hostname" = "xwin" -o "x$hostname" = "xi386-pc-qnx" ]
|
if [ "x$hostname" = "xwin" -o "x$hostname" = "xi386-pc-qnx" ]
|
||||||
then
|
then
|
||||||
HOSTLOC="-h localhost"
|
HOSTLOC="-h localhost"
|
||||||
|
USETCPIP="-i"
|
||||||
else
|
else
|
||||||
HOSTLOC=""
|
HOSTLOC=""
|
||||||
|
USETCPIP=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
@ -192,7 +194,7 @@ fi
|
|||||||
# him some time to pass the WAL recovery code.
|
# him some time to pass the WAL recovery code.
|
||||||
#----------
|
#----------
|
||||||
echo "=============== Starting regression postmaster ================"
|
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=$!
|
PMPID=$!
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user