[postgis-tickets] r16144 - force drop of postgis_reg database if it exists.
Sandro Santilli
strk at kbt.io
Tue Dec 12 03:34:06 PST 2017
On Mon, Dec 11, 2017 at 01:14:31PM -0800, Regina Obe wrote:
> Author: robe
> Date: 2017-12-11 13:14:31 -0800 (Mon, 11 Dec 2017)
> New Revision: 16144
>
> Modified:
> trunk/ci/bessie/postgis_regress.sh
> trunk/ci/bessie32/postgis_regress.sh
> Log:
> force drop of postgis_reg database if it exists.
>
> Modified: trunk/ci/bessie/postgis_regress.sh
> ===================================================================
> --- trunk/ci/bessie/postgis_regress.sh 2017-12-11 15:04:01 UTC (rev 16143)
> +++ trunk/ci/bessie/postgis_regress.sh 2017-12-11 21:14:31 UTC (rev 16144)
> @@ -6,6 +6,7 @@
> make
> export PGUSER=postgres
> export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
> +psql -c "DROP DATABASE IF EXISTS postgis_reg;"
IIRC there's an environment variable that can be set to tweak
the database name. "postgis_reg" is a generic one (the default)
which may be used by multiple jobs (say you commit in two branches
at the same time, or multiple commits in the same branch at short
time distance).
--strk;
More information about the postgis-tickets
mailing list