Re: Bug(?) around 'infinity'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug(?) around 'infinity'
Дата
Msg-id 19948.1011904047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug(?) around 'infinity'  (Fduch the Pravking <fduch@antar.bryansk.ru>)
Список pgsql-bugs
Fduch the Pravking <fduch@antar.bryansk.ru> writes:
> postmaster (PostgreSQL) 7.1.3

> psql input:
> test=> SELECT timestamp 'infinity' - timestamp 'infinity';

> psql output:
>                     ?column?
> -------------------------------------------------
>  -2147483648 days --2147483648:-2147483648:00NaN
> (1 row)

In current sources (7.2RC2, more or less) I get

regression=# SELECT timestamp 'infinity' - timestamp 'infinity';
ERROR:  Unable to subtract non-finite timestamps

So this has apparently been dealt with...

            regards, tom lane

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

Предыдущее
От: Fduch the Pravking
Дата:
Сообщение: Bug(?) around 'infinity'
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: COPY when 'filename' is a directory