Re: Printing backtrace of postgres processes
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: vignesh C <vignesh21@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-15T20:10:11Z
Lists: pgsql-hackers
On 2021-01-15 09:53:05 +0100, Peter Eisentraut wrote: > On 2020-12-08 10:38, vignesh C wrote: > > I have implemented printing of backtrace based on handling it in > > CHECK_FOR_INTERRUPTS. This patch also includes the change to allow > > getting backtrace of any particular process based on the suggestions. > > Attached patch has the implementation for the same. > > Thoughts? > > Are we willing to use up a signal for this? Why is a full signal needed? Seems the procsignal infrastructure should suffice?
Commits
-
Perform apply of large transactions by parallel workers.
- 216a784829c2 16.0 cited
-
Enhance pg_log_backend_memory_contexts() for auxiliary processes.
- 790fbda90209 15.0 cited
-
Allow GRANT on pg_log_backend_memory_contexts().
- f0b051e322d5 15.0 cited
-
Move Perl test modules to a better namespace
- b3b4d8e68ae8 15.0 cited
-
Unify PostgresNode's new() and get_new_node() methods
- 201a76183e20 15.0 cited
-
Add backtrace support for error reporting
- 71a8a4f6e365 13.0 cited