pgsql: Get rid of minus zero in box regression test. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Get rid of minus zero in box regression test.
Date
Msg-id E1am1sx-0005Ol-Es@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Get rid of minus zero in box regression test.

Commit acdf2a8b added a test case involving minus zero as a box endpoint.
This is not very portable, as evidenced by the several older buildfarm
members that are failing on the test because they print minus zero as
just "0".  If there were any significant reason to test this behavior,
we could consider carrying a separate expected-file; but it doesn't look
to me like there's adequate justification to accept such a maintenance
burden.  Just change the test to use plain zero, instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a067b50470cf7fda77dd28b03519f2483c2322bf

Modified Files
--------------
src/test/regress/expected/box.out | 6 +++---
src/test/regress/sql/box.sql      | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix oversight in getParamDescriptions(), and improve comments.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Type names should not be quoted