]> granicus.if.org Git - postgis/commitdiff
Add extra_float_digits for pg12
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 21 Feb 2019 20:44:07 +0000 (20:44 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 21 Feb 2019 20:44:07 +0000 (20:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17269 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index 30dbe1d2e36b0eeacf2a81c86042980b478149f5..f3857aa6b0841d386083efc7f6a6b4a19694e8a7 100755 (executable)
@@ -129,7 +129,11 @@ $ENV{"LC_ALL"} = "C";
 $ENV{"LANG"} = "C";
 
 # Add locale info to the psql options
-my $PGOPTIONS = $ENV{"PGOPTIONS"} . " -c lc_messages=C -c client_min_messages=NOTICE";
+# Add pg12 precision suppression
+my $PGOPTIONS = $ENV{"PGOPTIONS"};
+$PGOPTIONS .= " -c lc_messages=C";
+$PGOPTIONS .= " -c client_min_messages=NOTICE";
+$PGOPTIONS .= " -c extra_float_digits=0";
 $ENV{"PGOPTIONS"} = $PGOPTIONS;
 
 # Bring the path info in