mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Revise geometry regression testing to eliminate most cross-platform
variation. To do this, set extra_float_digits to -3 in the geometry test, and tweak the CIRCLE_TBL dataset to avoid values that suffer from severe cancellation error (eg, circles that just touch an axis). We still need two geometry 'expected' files to account for the difference between platforms that display minus zero as '-0' and those that just say '0', but with luck that's all we'll need.
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
-- GEOMETRY
|
||||
--
|
||||
|
||||
-- Back off displayed precision a little bit to reduce platform-to-platform
|
||||
-- variation in results.
|
||||
SET extra_float_digits TO -3;
|
||||
|
||||
--
|
||||
-- Points
|
||||
--
|
||||
|
Reference in New Issue
Block a user