Re: parallel workers and client encoding

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: parallel workers and client encoding
Дата
Msg-id b0e065fa-6393-eea8-524a-59032ab2d5c6@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: parallel workers and client encoding  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On 6/9/16 7:16 PM, Tatsuo Ishii wrote:
> Something like SetClientEncoding(GetDatabaseEncoding()) is a Little
> bit ugly. It would be nice if we could have a switch to turn off the
> automatic encoding conversion in the future, but for 9.6, I feel I'm
> fine with your proposed patch.

One way to make this nicer would be to put the encoding of a string into 
the StringInfoData structure.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: parallel workers and client encoding
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Should phraseto_tsquery('simple', 'blue blue') @@ to_tsvector('simple', 'blue') be true ?