[postgis-tickets] r17270 - Add extra_float_digits for pg12

Paul Ramsey pramsey at cleverelephant.ca
Thu Feb 21 12:44:29 PST 2019


Author: pramsey
Date: 2019-02-21 12:44:29 -0800 (Thu, 21 Feb 2019)
New Revision: 17270

Modified:
   branches/2.5/regress/run_test.pl
Log:
Add extra_float_digits for pg12


Modified: branches/2.5/regress/run_test.pl
===================================================================
--- branches/2.5/regress/run_test.pl	2019-02-21 20:44:07 UTC (rev 17269)
+++ branches/2.5/regress/run_test.pl	2019-02-21 20:44:29 UTC (rev 17270)
@@ -124,7 +124,11 @@
 $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



More information about the postgis-tickets mailing list