Re: [HACKERS] union regression test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] union regression test
Date
Msg-id 6444.905979957@sss.pgh.pa.us
Whole thread Raw
In response to union regression test  (Brook Milligan <brook@trillium.NMSU.Edu>)
Responses Re: [HACKERS] union regression test  (Brook Milligan <brook@trillium.NMSU.Edu>)
List pgsql-hackers
Brook Milligan <brook@trillium.NMSU.Edu> writes:
> I have finally resolved the differences in the union regression test.
> The problem is that the test uses the float8 table as part of the
> test, and this table turns out to be different among platforms because
> of different behavior with small numbers.  Since the float8 part of
> testing unions seemed entirely irrelevant I have changed it to use
> float4, which is not different among platforms.

It's not?  I think you assume far too much about the uniformity of
floating-point hardware.

Is it necessary to use float data at all for union tests?

            regards, tom lane

pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: union regression test
Next
From: Robson Miranda
Date:
Subject: Transaction system (proposal for 6.5)