| От | Tom Lane |
|---|---|
| Тема | Re: A creepy story about dates. How to prevent it? |
| Дата | |
| Msg-id | 8456.1056031822@sss.pgh.pa.us обсуждение |
| Ответ на | Re: A creepy story about dates. How to prevent it? ("Peter Haworth" <pmh@edison.ioppublishing.com>) |
| Ответы |
Re: A creepy story about dates. How to prevent it?
|
| Список | pgsql-general |
"Peter Haworth" <pmh@edison.ioppublishing.com> writes:
> On Wed, 18 Jun 2003 15:09:44 -0600 (MDT), scott.marlowe wrote:
>> Why not accept a date of 04/44/2003 and just wrap it into May?
> Unbelievably, to_date() already does that in 7.3.3:
It's only "unbelievable" if Oracle doesn't do the same thing. to_date
and friends are Oracle compatibility functions and are intended to
slavishly imitate what Oracle does, warts and all (and there are
certainly plenty of warts there...)
Anyone care to run some tests to see how lax Oracle's to_date is?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера