Re: parallel workers and client encoding

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: parallel workers and client encoding
Дата
Msg-id
6067.1465492454@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Tatsuo Ishii <ishii@postgresql.org>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Tom Lane <tgl@sss.pgh.pa.us>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Tom Lane <tgl@sss.pgh.pa.us>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: parallel workers and client encoding Noah Misch <noah@leadboat.com>
Re: parallel workers and client encoding Robert Haas <robertmhaas@gmail.com>
Re: parallel workers and client encoding Peter Geoghegan <pg@heroku.com>
Robert Haas  writes:
> On Mon, Jun 6, 2016 at 9:45 PM, Peter Eisentraut
>  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 по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
FAQ