| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера