From c2ee49ad630b47dbfe33d50184f45f951565d1e1 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 29 Dec 2011 21:00:31 +0000 Subject: [PATCH] Conditionally drop loader test tables (requires PostgreSQL >= 8.2 to support IF EXISTS syntax) git-svn-id: http://svn.osgeo.org/postgis/trunk@8616 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/run_test b/regress/run_test index d44e33706..87ad26c26 100755 --- a/regress/run_test +++ b/regress/run_test @@ -217,7 +217,7 @@ run_simple_test () drop_table_if_exists() { tblname="$1" - ${PSQL} -c "DROP TABLE ${tblname}" "${DB}" >> ${TMPDIR}/regress_log 2>&1 + ${PSQL} -c "DROP TABLE IF EXISTS ${tblname}" "${DB}" >> ${TMPDIR}/regress_log 2>&1 } # -- 2.50.1