Re: CONVERT function is seriously broken

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: CONVERT function is seriously broken
Дата
Msg-id 20021103.104956.77328650.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на CONVERT function is seriously broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I have just noticed that the implementation of
>     CONVERT(text USING encoding_name)
> tries to do database access during the grammar phase, viz it looks
> up the encoding_name in pg_conversion and replaces it with an OID.
> 
> This is not workable; consider the situation where we are in an
> already-aborted transaction.  Using a pg_conversion OID in stored rules
> isn't very acceptable either.
> 
> Unfortunately, I don't see any way offhand to fix this without an
> initdb :-(.

Sorry for the trouble and thanks for the fix.
--
Tatsuo Ishii


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Optimizer Question/Suggestion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizer Question/Suggestion