On 2/17/17 10:14, Peter Eisentraut wrote:
> Well, it is sort of a libpq connection, and a proper libpq client should
> set the client encoding, and a proper libpq server should do encoding
> conversion accordingly. If we just play along with this, it all works
> correctly.
>
> Other output plugins are free to ignore the encoding settings (just like
> libpq can send binary data in some cases).
>
> The attached patch puts it all together.
committed
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services