Re: json accessors

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: json accessors
Дата
Msg-id 50B8E02F.5090509@dunslane.net
обсуждение исходный текст
Ответ на Re: json accessors  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-hackers
On 11/30/2012 10:59 AM, Hannu Krosing wrote:
>
> Btw, how does current json type handle code pages - is json always 
> utf-8 even when server encoding is not ?
>
> if so then we could at least have a shortcut conversion of json to 
> utf8-text which can skip codepage changes.
>
>

IIRC json is stored and processed in the server encoding. Normally it 
would make sense to have that be utf8. It is delivered to the client in 
the client encoding.

cheers

andrew




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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PATCH] Patch to fix a crash of psql
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PATCH] Patch to fix a crash of psql