Geometry regression tests (was Re: Float output formatting options)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pedro M(dot) Ferreira" <pfrazao(at)ualg(dot)pt>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Geometry regression tests (was Re: Float output formatting options)
Date: 2002-11-08 20:33:30
Message-ID: 27432.1036787610@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pedro M. Ferreira" <pfrazao(at)ualg(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert E. Bruccoleri 2002-11-08 21:33:42 Problem with 7.3 on Irix with dates before 1970
Previous Message Bruce Momjian 2002-11-08 19:07:09 Re: RC1 on Friday?