Back off output precision in circle.sql regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Aug 2019 16:14:50 +0000 (12:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Aug 2019 16:14:50 +0000 (12:14 -0400)
commitfaee5a12ecf13190d7ca11d6dcc7078e494f46ca
tree5bbe9de743112431338122817620634e53d5582d
parentf493d98c167321e5d5c17dd7d795721045a81c97
Back off output precision in circle.sql regression test.

We were setting extra_float_digits = 0 to avoid platform-dependent
output in this test, but that's still able to expose platform-specific
roundoff behavior in some new test cases added by commit a3d284485,
as reported by Peter Eisentraut.  Reduce it to -1 to hide that.

(Over in geometry.sql, we're using -3, which is an ancient decision
dating to 337f73b1b.  I wonder whether that's overkill now.  But
there's probably little value in trying to change it.)

Back-patch to v12 where a3d284485 came in; there's no evidence that
we have any platform-dependent issues here before that.

Discussion: http://postgr.es/m/15551268-e224-aa46-084a-124b64095ee3@2ndquadrant.com
src/test/regress/expected/circle.out
src/test/regress/sql/circle.sql