Commit fd0df505 authored by Tom Lane's avatar Tom Lane

Tweak parallel test script so that command line options for postmaster

can be set via environment variable PMOPTIONS.  Default is -o -F.
parent dc070fde
#!/bin/sh #!/bin/sh
# #
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.12 2000/04/07 17:51:13 tgl Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.13 2000/04/08 01:54:47 tgl Exp $
# ---------- # ----------
# Check call syntax # Check call syntax
...@@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp" ...@@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp"
PGPORT="65432" PGPORT="65432"
PGLIB="$LIBDIR" PGLIB="$LIBDIR"
PMPID="" PMPID=""
PMOPTIONS=${PMOPTIONS:-"-o -F"}
export CHKDIR export CHKDIR
export PGDATA export PGDATA
...@@ -191,7 +192,7 @@ fi ...@@ -191,7 +192,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 -p $PGPORT -o -F >$LOGDIR/postmaster.log 2>&1 & postmaster -D $PGDATA -p $PGPORT $PMOPTIONS >$LOGDIR/postmaster.log 2>&1 &
PMPID=$! PMPID=$!
sleep 2 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