Re: parallel workers and client encoding - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: parallel workers and client encoding
Date
Msg-id b0e065fa-6393-eea8-524a-59032ab2d5c6@2ndquadrant.com
Whole thread Raw
In response to Re: parallel workers and client encoding  (Tatsuo Ishii <ishii@postgresql.org>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: parallel workers and client encoding
Next
From: Noah Misch
Date:
Subject: Re: Should phraseto_tsquery('simple', 'blue blue') @@ to_tsvector('simple', 'blue') be true ?