Commit 61f06bc2 authored by Bruce Momjian's avatar Bruce Momjian

Use postmaster -i only on certain platforms.

parent feaf1fc1
#!/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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment