Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1
Дата
Msg-id 8188.1245427393@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1  (Brendan Jurd <direvus@gmail.com>)
Ответы Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1  (Jeremy Ford <jeremford@gmail.com>)
Список pgsql-bugs
Brendan Jurd <direvus@gmail.com> writes:
> I hope that answers your question.  to_date() is by nature a weird
> beast with many strange corners in its behaviour, and it's hard to
> strike a balance between backwards compatibility and Least
> Astonishment.  My personal preference would be for a 100% strict
> interpretation of the format pattern, and a pox on anyone who has been
> relying on sloppy patterns!  But that's not very practical.  I would
> welcome any suggestions for further refinements.

My feeling about it is that we usually try to match Oracle's behavior
for to_date/to_char, so the $64 question is whether Oracle allows a
leading space in these same cases.  Anyone have it handy to test?

            regards, tom lane

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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1
Следующее
От: "Rick Levine"
Дата:
Сообщение: BUG #4866: ECPG and BYTEA