Re: to_date gives odd results

Поиск
Список
Период
Сортировка
От Josh Tolley
Тема Re: to_date gives odd results
Дата
Msg-id e7e0a2570708310635x5d2b8920h6e1c8bc30b3ab6ae@mail.gmail.com
обсуждение исходный текст
Ответ на Re: to_date gives odd results  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-bugs
On 8/31/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> Josh Tolley escribi=F3:
> > > On Thursday 30 August 2007 21:15, Tom Lane wrote:
> > > > to_date and friends are fairly awful in terms of not throwing errors
> > > > when the input doesn't really match the format.  I think what you
> > > > shoulda got here is a bad-input error.  However, somebody's going to
> > > > have to do a major rewrite of formatting.c to make it much better...
> >
> > Any votes for making that formatting.c rewrite a TODO item?
>
> Well, there is already a to_char patch scheduled for 8.4.  If you want
> to improve the to_date code, you are invited to do so -- no need to have
> a TODO item about it.

I figured as much.

> If what you expect is that having a TODO item will mean that somebody
> else will start working on it, I think you'll be disappointed :-)

I realize this chance is slim. The likelihood that I could get to it
and make something useful of it seemed even more slim :)

> (OTOH maybe we should add it and put the % mark in it.)

- Josh

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: to_date gives odd results
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3590: Error while in Plpgsql :