Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
regress: Fix compatibility with PostgreSQL 12
Browse files Browse the repository at this point in the history
PostgreSQL has more floating point output precision by default, this
changes the regression tests to request the old format.
  • Loading branch information
df7cb committed Oct 30, 2019
1 parent 1fd7db8 commit e0b303d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sql/circle.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\set ECHO none
SELECT set_sphere_output_precision(8);
SET extra_float_digits = 0;
\set ECHO all

-- Input/Output ---
Expand Down
1 change: 1 addition & 0 deletions sql/poly.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\set ECHO none
SELECT set_sphere_output_precision(8);
SET extra_float_digits = 0;
\set ECHO all

-- checking polygon operators
Expand Down

0 comments on commit e0b303d

Please sign in to comment.