[postgis-tickets] r17269 - Add extra_float_digits for pg12

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


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

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


Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2019-02-21 18:26:47 UTC (rev 17268)
+++ trunk/regress/run_test.pl	2019-02-21 20:44:07 UTC (rev 17269)
@@ -129,7 +129,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