Re: expose parallel leader in CSV and log_line_prefix

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: expose parallel leader in CSV and log_line_prefix
Дата
Msg-id 20200717025545.GA30699@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: expose parallel leader in CSV and log_line_prefix  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: expose parallel leader in CSV and log_line_prefix  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2020-Jul-17, Michael Paquier wrote:

> Please note that this choice comes from BecomeLockGroupLeader(), where
> a leader registers itself in lockGroupLeader, and remains set as such
> as long as the process is alive so we would always get a value for a
> process once it got involved in parallel query.  This patch is just

Oh, ugh, I don't like that part much.  If you run connections through a
connection pooler, it's going to be everywhere. Let's put it there only
if the connection *is* running a parallel query, without being too
stressed about the startup and teardown sequence.


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [PATCH] Add support for choosing huge page size
Следующее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: Implement UNLOGGED clause for COPY FROM