Re: CONVERT function is seriously broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CONVERT function is seriously broken
Дата
Msg-id 17803.1036213217@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CONVERT function is seriously broken  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: CONVERT function is seriously broken  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: CONVERT function is seriously broken  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Unfortunately, I don't see any way offhand to fix this without an
>> initdb :-(.

> Ooch, that hurts.  How bad would it be if it was broken in 7.3?

We could dike out the feature:

convert_list:           a_expr USING any_name               {                   elog(ERROR, "CONVERT(... USING ...) is
notimplemented");               }
 

Short of that, I think we need an initdb to change the function
signature for the convert() function.  It needs to take a (suitably
quoted) text parameter, not an OID.

Since we forced initdb only a week ago with beta3, I don't think there
is really a strong argument against doing it again.  But probably Marc
will say that we need a beta4 at this point, instead of going for RC1...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.2.3 vacuum bug
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: 7.3B3 psql talking to a 7.2.3 server?