[postgis-tickets] r17985 - [run_test] Use -f _before_ DB argument

Sandro Santilli strk at kbt.io
Sun Oct 20 02:00:59 PDT 2019


Author: strk
Date: 2019-10-20 02:00:58 -0700 (Sun, 20 Oct 2019)
New Revision: 17985

Modified:
   trunk/regress/run_test.pl
Log:
[run_test] Use -f _before_ DB argument

Windows version of psql might be picky about it

Hopefully closes #4554

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2019-10-20 02:14:19 UTC (rev 17984)
+++ trunk/regress/run_test.pl	2019-10-20 09:00:58 UTC (rev 17985)
@@ -776,7 +776,7 @@
           . " -v \"regdir=$REGDIR\""
           . " -v \"schema=$OPT_SCHEMA.\""
           . " -c \"SET search_path TO public,$OPT_SCHEMA,topology\""
-          . " -tXAq $DB -f $sql > $outfile 2>&1";
+          . " -tXAq -f $sql $DB > $outfile 2>&1";
 	my $rv = system($cmd);
 
 	# Check for ERROR lines



More information about the postgis-tickets mailing list