[postgis-tickets] r16144 - force drop of postgis_reg database if it exists.

Regina Obe lr at pcorp.us
Mon Dec 11 13:14:31 PST 2017


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;"
 make check
 sudo make install
 make check RUNTESTFLAGS=--extension

Modified: trunk/ci/bessie32/postgis_regress.sh
===================================================================
--- trunk/ci/bessie32/postgis_regress.sh	2017-12-11 15:04:01 UTC (rev 16143)
+++ trunk/ci/bessie32/postgis_regress.sh	2017-12-11 21:14:31 UTC (rev 16144)
@@ -5,6 +5,7 @@
 make
 export PGUSER=postgres
 export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
+psql -c "DROP DATABASE IF EXISTS postgis_reg;"
 make check
 sudo make install
 make check RUNTESTFLAGS=--extension



More information about the postgis-tickets mailing list