Robert Haas <robertmh...@gmail.com> writes: > On Mon, Jun 6, 2016 at 9:45 PM, Peter Eisentraut > <peter.eisentr...@2ndquadrant.com> wrote: >> ... So this whole thing >> actually happens to work as long as round tripping is possible between the >> involved encodings.
> Hmm. I didn't realize that we had encodings where round-tripping > wasn't possible. I figured that if you could convert from A to B, you > would also be able to convert from B to A. Uh, that's not the point: the real problem is when B is simply smaller than A. For example, server encoding utf8, client encoding latin1. The current code results in failures if any non-latin1 data has to be transmitted from worker to leader, even though the query might not have ever sent that data to the client, and therefore would work fine in non-parallel mode. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers