pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Back off output precision in circle.sql regression test. 2+ messages / 1 participants [nested] [flat]
* pgsql: Back off output precision in circle.sql regression test. @ 2019-08-25 16:15 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-08-25 16:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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: https://postgr.es/m/15551268-e224-aa46-084a-124b64095ee3@2ndquadrant.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/faee5a12ecf13190d7ca11d6dcc7078e494f46ca Modified Files -------------- src/test/regress/expected/circle.out | 15 ++++++++------- src/test/regress/sql/circle.sql | 5 +++-- 2 files changed, 11 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Back off output precision in circle.sql regression test. @ 2019-08-25 16:15 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-08-25 16:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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: https://postgr.es/m/15551268-e224-aa46-084a-124b64095ee3@2ndquadrant.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cd714b3507c914e78d47352d1e126b4bec4380ad Modified Files -------------- src/test/regress/expected/circle.out | 15 ++++++++------- src/test/regress/sql/circle.sql | 5 +++-- 2 files changed, 11 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-08-25 16:15 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-08-25 16:15 pgsql: Back off output precision in circle.sql regression test. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-25 16:15 pgsql: Back off output precision in circle.sql regression test. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox