Skip to content

Commit e0b303d

Browse files
committed
regress: Fix compatibility with PostgreSQL 12
PostgreSQL has more floating point output precision by default, this changes the regression tests to request the old format.
1 parent 1fd7db8 commit e0b303d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sql/circle.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
\set ECHO none
22
SELECT set_sphere_output_precision(8);
3+
SET extra_float_digits = 0;
34
\set ECHO all
45

56
-- Input/Output ---

sql/poly.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
\set ECHO none
22
SELECT set_sphere_output_precision(8);
3+
SET extra_float_digits = 0;
34
\set ECHO all
45

56
-- checking polygon operators

0 commit comments

Comments
 (0)