Re: BUG #1630: Wrong conversion in to_date() function. See example.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1630: Wrong conversion in to_date() function. See example.
Дата
Msg-id 22161.1114613142@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1630: Wrong conversion in to_date() function. See example.  ("Ariel E. Carná/Elizabeth Sosa" <acarna@tarifar.com>)
Ответы Re: BUG #1630: Wrong conversion in to_date() function. See example.  (Juan Miguel Paredes <juan.paredes@gmail.com>)
Список pgsql-bugs
"Ariel E. Carná/Elizabeth Sosa" <acarna@tarifar.com> writes:
> PROD=# select to_date('2005-02-32', 'YYYY-MM-DD');
>   to_date
> ------------
>  2005-03-04
> (1 row)

I'm not convinced that's a bug --- most implementations of the Unix
mktime function will handle out-of-range day numbers like that.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #1630: Wrong conversion in to_date() function. See example.
Следующее
От: Juan Miguel Paredes
Дата:
Сообщение: Re: BUG #1630: Wrong conversion in to_date() function. See example.