Re: A modest proposal: let's add PID to assertion failure messages

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: A modest proposal: let's add PID to assertion failure messages
Дата
Msg-id 20201006182748.ktk4se2gi4b3ggoy@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: A modest proposal: let's add PID to assertion failure messages  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On 2020-10-05 10:20:01 +1300, Thomas Munro wrote:
> On Mon, Oct 5, 2020 at 10:08 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > In these days when we run almost all test cases in parallel, it's
> > frequently not that easy to tie a "TRAP: ..." message in the log
> > to nearby log messages.  (The postmaster's subsequent complaint
> > often helps, but it could be some distance away in the log; and
> > good luck untangling things if more than one Assert failure happens
> > concurrently.)  We could add a simple bread crumb trail by
> > including the process's PID in such messages.  Any objections?
> 
> +1

+1



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

Предыдущее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: [PATCH] Automatic HASH and LIST partition creation
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add primary keys to system catalogs