CONVERT function is seriously broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема CONVERT function is seriously broken
Дата
Msg-id 16727.1036203378@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: CONVERT function is seriously broken  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: CONVERT function is seriously broken  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
I have just noticed that the implementation ofCONVERT(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 :-(.
        regards, tom lane


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

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: [GENERAL] Database replication... - Mission Critical
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] What user to defaults execute as?