Re: new int8 test still has problems

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: new int8 test still has problems
Дата
Msg-id 48E90E50.7050306@gmx.net
обсуждение исходный текст
Ответ на new int8 test still has problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: new int8 test still has problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> The buildfarm is showing still other "interesting" behaviors.
> I'm not really interested in having umpteen expected int8 files
> to deal with all the strange corner cases that might be seen
> on different platforms.  Please just remove all the edge-case
> tests.

Yeah, it's probably not worth bother too much with them.  I have removed 
the problem cases.

This result from AIX/PPC can't be good, however:

***************
*** 684,690 ****  select '9223372036854775800'::int8 * '100'::int4;  ERROR:  bigint out of range  select
'-9223372036854775808'::int8/ '-1'::int4;
 
! ERROR:  bigint out of range  select '100'::int4 + '9223372036854775800'::int8;  ERROR:  bigint out of range  select
'-100'::int4- '9223372036854775800'::int8;
 
--- 688,698 ----  select '9223372036854775800'::int8 * '100'::int4;  ERROR:  bigint out of range  select
'-9223372036854775808'::int8/ '-1'::int4;
 
!  ?column?
! ----------
!         0
! (1 row)
!  select '100'::int4 + '9223372036854775800'::int8;  ERROR:  bigint out of range  select '-100'::int4 -
'9223372036854775800'::int8;


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Subtransaction commits and Hot Standby
Следующее
От: Tom Lane
Дата:
Сообщение: Re: new int8 test still has problems