Re: expose parallel leader in CSV and log_line_prefix

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: expose parallel leader in CSV and log_line_prefix
Дата
Msg-id 20200717153540.GA17100@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: expose parallel leader in CSV and log_line_prefix  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: expose parallel leader in CSV and log_line_prefix  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
> On Fri, Jul 17, 2020 at 7:01 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> > Hmm.  Knowing if a leader is actually running parallel query or not
> > requires a lookup at lockGroupMembers, that itself requires a LWLock.
> > I think that it would be better to not require that.  So what if
> > instead we logged %P only if Myproc has lockGroupLeader set and it
> > does *not* match MyProcPid?

That's what I said first, so +1 for that approach.

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



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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Patch for reorderbuffer.c documentation.
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Partitioning and postgres_fdw optimisations for multi-tenancy