Re: to_date conversion semantics?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: to_date conversion semantics?
Дата
Msg-id 15719.1285010488@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: to_date conversion semantics?  ("Colin 't Hart" <colinthart@gmail.com>)
Список pgsql-general
"Colin 't Hart" <colinthart@gmail.com> writes:
> The 32nd of Undecember (!) turning into the 1st of February of the
> next year... instead of throwing an exception like I expect.

As mentioned previously, to_date isn't the tool to use if you want
a strict conversion --- it's designed to be rather, um, liberal.
Some people think that accepting dates like June 31st is a feature.

            regards, tom lane

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

Предыдущее
От: Aram Fingal
Дата:
Сообщение: Re: Installing Contrib Modules with a Precompiled Binary
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: to_date conversion semantics?