Geometry regression tests (was Re: Float output formatting options) - Mailing list pgsql-hackers

From Tom Lane
Subject Geometry regression tests (was Re: Float output formatting options)
Date
Msg-id 27432.1036787610@sss.pgh.pa.us
Whole thread Raw
In response to Re: Float output formatting options  ("Pedro M. Ferreira" <pfrazao@ualg.pt>)
Responses Re: Geometry regression tests (was Re: Float output formatting options)  (Giles Lean <giles@nemeton.com.au>)
Re: Geometry regression tests (was Re: Float output  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
"Pedro M. Ferreira" <pfrazao@ualg.pt> writes:
> [ patch for extra_float_digits ]

I've applied this patch along with followup changes to pg_dump (it sets
extra_float_digits to 2 to allow accurate dump/reload) and the geometry
regression test (it sets extra_float_digits to -3).

I find that two geometry 'expected' files are now sufficient to cover
all the platforms I have available to test.  (We'd only need one, if
everyone displayed minus zero as '-0', but some platforms print '0'.)
I tested on HPUX 10.20 (HPPA), Red Hat Linux 8.0 (Intel), Mac OS X 10.2.1
and LinuxPPC (PPC).

I'd be interested to hear results of testing CVS tip (now 7.4devel)
on other platforms.  Does geometry pass cleanly for you?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: RC1 on Friday?
Next
From: "Robert E. Bruccoleri"
Date:
Subject: Problem with 7.3 on Irix with dates before 1970