Commit a78f3d96 authored by Christoph Berg's avatar Christoph Berg

pg_virtualenv: Use fsync = off for speed.

parent 44b4fde6
......@@ -3,6 +3,7 @@ postgresql-common (156) UNRELEASED; urgency=medium
* pg_upgradecluster: Add missing psql -p argument when determining the
number of tablespaces in the old cluster.
* Link pg_archivecleanup from /usr/bin. (Closes: #740593)
* pg_virtualenv: Use fsync = off for speed.
-- Christoph Berg <myon@debian.org> Fri, 23 May 2014 20:47:47 +0200
......
......@@ -159,9 +159,10 @@ for v in $PG_VERSIONS; do
pg_createcluster \
${NONROOT:+-d "$WORKDIR/data/$v/regress"} \
${NONROOT:+-l "$WORKDIR/log/postgresql-$v-regress.log"} \
${CREATE_OPTS:-} "${PGCONF_OPTS[@]}" --start $v regress -- \
--username="$PGUSER" --pwfile="$PWFILE" ${INITDB_OPTS:-}
${CREATE_OPTS:-} "${PGCONF_OPTS[@]}" $v regress -- \
--username="$PGUSER" --pwfile="$PWFILE" --nosync ${INITDB_OPTS:-}
# in fakeroot, the username will likely default to "postgres" otherwise
pg_ctlcluster -o '-F' $v regress start
)
port=$(perl -lne 'print $1 if /^port = (\d+)/' \
${PG_CLUSTER_CONF_ROOT:-/etc/postgresql}/$v/regress/postgresql.conf)
......
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