Re: [HACKERS] PostgreSQL 6.5.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] PostgreSQL 6.5.2
Дата
Msg-id 20536.938813532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] PostgreSQL 6.5.2  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 6.5.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 6.5.2