Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)
Дата
Msg-id 23634.1184685529@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)
Список pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
>> * Fix to_date()-related functions to consistently issue errors
>> http://archives.postgresql.org/pgsql-hackers/2007-02/msg00915.php

> I'm now taking another run at this issue.  Here's what I've got in mind.

This is all good but I think that self-inconsistent format strings are
not really the main source of to_date problems.  Most of the complaints
I've seen arise from to_date plowing ahead to deliver a ridiculous
answer when the input data string doesn't match the format.  I'd like to
see the code try a little harder to validate the input data.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Backend memory growing too much
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: write_pipe_chunks patch messes up early error message output