Re: parallel workers and client encoding
От | Tom Lane |
---|---|
Тема | Re: parallel workers and client encoding |
Дата | |
Msg-id | 6067.1465492454@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: parallel workers and client encoding (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: parallel workers and client encoding
|
Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes: > On Mon, Jun 6, 2016 at 9:45 PM, Peter Eisentraut > <peter.eisentraut@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
В списке pgsql-hackers по дате отправления: