Re: Printing backtrace of postgres processes

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Printing backtrace of postgres processes
Дата
в 19:55:20
Msg-id
20210506195520.vqd4nss5j64upv5t@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Daniel Gustafsson <daniel@yesql.se>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes "Andres Freund" <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Hi,

On 2021-05-06 15:22:02 -0400, Tom Lane wrote:
> Andres Freund  writes:
> > we allow generating backtraces in all kind of places, including
> > e.g. some inside critical sections via backtrace_functions.
> 
> If there's an elog call inside a critical section, that seems
> like a problem already.  Are you sure that there are any such?

There's several, yes. In xlog.c there's quite a few that are gated by
wal_debug being enabled. But also a few without that,
e.g. XLogFileInit() logging
	elog(DEBUG1, "creating and filling new WAL file");
and XLogFileInit() can be called within a critical section.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Andres Freund
Дата:
FAQ