Re: Convert string to UNICODE & migration FROM 7.4 to 9.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Convert string to UNICODE & migration FROM 7.4 to 9.1
Дата
Msg-id 28552.1322166350@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Convert string to UNICODE & migration FROM 7.4 to 9.1  (Philippe Lang <philippe.lang@attiksystem.ch>)
Список pgsql-general
Philippe Lang <philippe.lang@attiksystem.ch> writes:
> I have a function under PG 7.4 that returns an xml structure, with the content encoded in UNICODE.

Basically, the only reason you got away with that in 7.4 is that 7.4 is
so lax about encodings.  In general, in modern releases, all text
strings inside the backend are in the database's specified encoding.
Full stop, no exceptions.  If you think you need something different,
you need to rethink your assumptions.

I'd try just dropping the convert() step and see what happens.

            regards, tom lane

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

Предыдущее
От: Antonio Franzoso
Дата:
Сообщение: Re: Compiler does not detect support for 64 bit integers
Следующее
От: "Andrus Moor"
Дата:
Сообщение: Re: How to get normalized data from tekst column