Thread
-
Re: [HACKERS] PostgreSQL 6.5.2
Keith Parks <emkxp01@mtcc.demon.co.uk> — 1999-10-01T22:55:00Z
>From: Tom Lane <tgl@sss.pgh.pa.us> > >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? Trust me to make things over complex!! Keith.