Re: [HACKERS] PostgreSQL 6.5.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] PostgreSQL 6.5.2
Date
Msg-id 20536.938813532@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] PostgreSQL 6.5.2  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
List pgsql-hackers
Keith Parks <emkxp01@mtcc.demon.co.uk> writes:
> I'm sure we could get rid of even those errors if we were to
> incorporate some test like the following and then mangle the
> expected results accordingly.

I don't see much value in getting rid of the discrepancies in strerror()
messages unless you have some proposal for getting rid of platform-
specific float roundoff differences.  On my machine, the diffs in the
float8 and geometry regress tests are *much* larger and much harder to
validate by eyeball than the piddling little diffs in int2 and int4.
(I suppose I should submit platform-specific expected files for HPUX,
but have never gotten round to it...)

However, if people like this approach, why not just print out
"strerror(ERANGE)" instead of fooling with strtol?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.2
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.2