mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Remove forced CHECKPOINT in regression tests --- redundant now that
CREATE DATABASE does one internally.
This commit is contained in:
parent
fbcbc5d06f
commit
ca1d4eb7f8
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.57 2005/06/21 04:02:34 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.58 2005/06/25 23:04:06 tgl Exp $
|
||||
|
||||
me=`basename $0`
|
||||
: ${TMPDIR=/tmp}
|
||||
@ -535,9 +535,6 @@ fi
|
||||
# Create the regression database
|
||||
# We use template0 so that any installation-local cruft in template1
|
||||
# will not mess up the tests.
|
||||
# Note: the reason for checkpointing just after creating the new DB is so
|
||||
# that if we get a backend core dump during the tests, WAL replay won't
|
||||
# remove the core file.
|
||||
# ----------
|
||||
|
||||
message "creating database \"$dbname\""
|
||||
@ -548,7 +545,6 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
|
||||
"$bindir/psql" -q -X $psql_options -c "\
|
||||
checkpoint;
|
||||
alter database \"$dbname\" set lc_messages to 'C';
|
||||
alter database \"$dbname\" set lc_monetary to 'C';
|
||||
alter database \"$dbname\" set lc_numeric to 'C';
|
||||
|
Loading…
Reference in New Issue
Block a user