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.
Дата
Msg-id 9e0a28690504270750f197285@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #1630: Wrong conversion in to_date() function. See example.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Even javascript handles those dates the same way...

 On 4/27/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:=20
>=20
> "Ariel E. Carn=C3=A1/Elizabeth Sosa" <acarna@tarifar.com> writes:
> > PROD=3D# select to_date('2005-02-32', 'YYYY-MM-DD');
> > to_date
> > ------------
> > 2005-03-04
> > (1 row)
>=20
> I'm not convinced that's a bug --- most implementations of the Unix
> mktime function will handle out-of-range day numbers like that.
>=20
> regards, tom lane
>=20
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>=20
> http://www.postgresql.org/docs/faq
>

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

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