Re: expose parallel leader in CSV and log_line_prefix

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: expose parallel leader in CSV and log_line_prefix
Дата
Msg-id 20200710161115.GK26220@telsasoft.com
обсуждение исходный текст
Ответ на 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  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Fri, Jul 10, 2020 at 05:13:26PM +0200, Julien Rouhaud wrote:
> There's a thinko in the padding handling.  It should be dones whether MyProc
> and/or lockGroupLeader is NULL or not, and only if padding was asked, like it's
> done for case 'd' for instance.
> 
> Also, the '%k' escape sounds a bit random.  Is there any reason why we don't
> use any uppercase character for log_line_prefix?  %P could be a better
> alternative, otherwise maybe %g, as GroupLeader/Gather?

Thanks for looking.  %P is a good idea - it's consistent with ps and pkill and
probably other %commands.  I also amended the docs.

-- 
Justin

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GSSENC'ed connection stalls while reconnection attempts.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Stale external URL in doc?