Fix server startup so it works with postgres 8.2
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 4 Feb 2008 09:21:02 +0000 (09:21 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 4 Feb 2008 09:21:02 +0000 (09:21 +0000)
tests/command/get-data-psql.sh

index 507144ceb41a39f5e260b109cbffad892e327032..6d099a06da56146b8247d41625a37a3f982c968c 100755 (executable)
@@ -74,7 +74,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run server"
-PGHOST=$TEMPDIR $pgpath/pg_ctl -D $TEMPDIR/cluster  start -w -o "-k $TEMPDIR -p $port -h ''"  > /dev/null
+PGHOST=$TEMPDIR PGPORT=$port $pgpath/pg_ctl -D $TEMPDIR/cluster  start -w -o "-k $TEMPDIR" > /dev/null
 if [ $? -ne 0 ] ; then no_result ; fi