Re: [HACKERS] LATIN2->UTF8 conversation with dblink

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] LATIN2->UTF8 conversation with dblink
Дата
Msg-id 26489.1233674539@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LATIN2->UTF8 conversation with dblink  (Joe Conway <mail@joeconway.com>)
Список pgsql-novice
Joe Conway <mail@joeconway.com> writes:
> Tom Lane wrote:
>> Hmm.  You can presumably fix this by setting client_encoding in the
>> dblink connection to match the encoding in use in the database it's
>> called in.  But I wonder why dblink doesn't just do that for you
>> automatically.

> But if you think automatically setting client encoding is appropriate, I
> will make the change. Would it be classified as a bug (and therefore
> something to backpatch) or a new feature?

You could make an argument either way; but given that we're not seeing
vast demand in this thread, I think I'd vote for not changing behavior
in the back branches.  It'd be good to get it into 8.4 though.

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: LATIN2->UTF8 conversation with dblink
Следующее
От: Ruzsinszky Attila
Дата:
Сообщение: Permanent dblink