Re: TO_DATE behavior!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TO_DATE behavior!
Дата
Msg-id 12120.1203614585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TO_DATE behavior!  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Gevik Babakhani wrote:
>> I would like to have your opinion about the following behavior of TO_DATE.
>> Is this correct or a hidden feature?

> There are quite a few complaints in the archive about to_date's incorrect or 
> questionable behavior.  I'm sure this is one of them.  This code needs a 
> general, systematic review.

to_date has always been impressively lax about error-checking its input.
While I wouldn't object to tightening that up, surely checking a
weekday name against the rest of the date should be very far down the
priority list of checks to make.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: VARATT_EXTERNAL_GET_POINTER is not quite there yet
Следующее
От: Tom Lane
Дата:
Сообщение: Re: about date/time parser