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?  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: A creepy story about dates. How to prevent it?  (Ron Johnson <ron.l.johnson@cox.net>)
Re: A creepy story about dates. How to prevent it?  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Jimmie H. Apsey"
Дата:
Сообщение: Re: A View to Share
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A creepy story about dates. How to prevent it?