Re: BUG #1630: Wrong conversion in to_date() function. See example.
От | Shelby Cain |
---|---|
Тема | Re: BUG #1630: Wrong conversion in to_date() function. See example. |
Дата | |
Msg-id | 20050427151444.1686.qmail@web50102.mail.yahoo.com обсуждение исходный текст |
Ответ на | BUG #1630: Wrong conversion in to_date() function. See example. ("Ariel E. Carná/Elizabeth Sosa" <acarna@tarifar.com>) |
Список | pgsql-bugs |
> > However we consider that to_date() exists to be > Oracle compatible, > and so I would regard this as a bug if and only if > Oracle does > something different with the same input. Anyone > know? > Here is the output I get from Oracle: ===================================================== Connected to: Oracle8 Enterprise Edition Release 8.0.6.3.0 - Production SELECT to_date('2005-02-27', 'YYYY-MM-DD') from dual TO_DATE('2005-02-27','YYYY-MM- ------------------------------ 2/27/2005 1 row selected SELECT to_date('2005-02-29', 'YYYY-MM-DD') from dual ORA-01839: date not valid for month specified SELECT to_date('2005-02-32', 'YYYY-MM-DD') from dual; ORA-01847: day of month must be between 1 and last day of month =========================================== Regards, Shelby Cain __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
В списке pgsql-bugs по дате отправления: