Re: A creepy story about dates. How to prevent it?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A creepy story about dates. How to prevent it?
Дата
Msg-id 9360.1056039764@sss.pgh.pa.us
обсуждение
Ответ на Re: A creepy story about dates. How to prevent it?  (Jean-Luc Lachance <jllachan@nsd.ca>)
Ответы Re: A creepy story about dates. How to prevent it?
Re: A creepy story about dates. How to prevent it?
Re: A creepy story about dates. How to prevent it?
Список pgsql-general
Jean-Luc Lachance <jllachan@nsd.ca> writes:
> Shouldn't dates be validated using the *LOCALE setting and not try to
> guess?

It would make sense to offer a "strict" mode in which the date order
has to be what DateStyle suggests.  I'm astonished that no one seems
to get the point that there are also good uses for "lax" parsing.

            regards, tom lane

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