mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
Tweak parallel test script so that command line options for postmaster
can be set via environment variable PMOPTIONS. Default is -o -F.
This commit is contained in:
parent
dc070fdea6
commit
fd0df5058a
@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp"
|
||||
PGPORT="65432"
|
||||
PGLIB="$LIBDIR"
|
||||
PMPID=""
|
||||
PMOPTIONS=${PMOPTIONS:-"-o -F"}
|
||||
|
||||
export CHKDIR
|
||||
export PGDATA
|
||||
@ -191,7 +192,7 @@ fi
|
||||
# him some time to pass the WAL recovery code.
|
||||
#----------
|
||||
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=$!
|
||||
sleep 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user