Re: int8 bug on Alpha

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: int8 bug on Alpha
Дата
Msg-id 3AB89484.488FE75F@alumni.caltech.edu
обсуждение исходный текст
Ответ на int8 bug on Alpha  (Adriaan Joubert <a.joubert@albourne.com>)
Список pgsql-hackers
> int8 is not handled correctly on Alpha. Inserting 2^63-1, 2^63-2 and
> 2^61...

How are you doing the inserts? If you aren't coercing the "2" to be an
int8, then (afaik) the math will be done in int4, then upconverted. So,
can you confirm that your inserts look like:

insert into lint values ('9223372036854775807');

or

insert into lint select (int8 '2') ^ 61;
                        - Thomas


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

Предыдущее
От: "sourabh dixit"
Дата:
Сообщение: Re: PostgreSQL-JDBC driver
Следующее
От: Adriaan Joubert
Дата:
Сообщение: Re: int8 bug on Alpha