On Sun, Apr 5, 2020 at 8:56 PM Andres Freund <andres@anarazel.de> wrote:
> Perhaps put it on a wiki page?
I added a new major section to the "getting a stack trace" wiki page:
https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD#Recording_Postgres_using_rr_Record_and_Replay_Framework
Feel free to add to and edit this section yourself.
> Were you doing this because of occasional failures in autovacuum
> workers? If so, that shouldn't be necessary after the stack base change
> (previously workers IIRC also could start with the wrong stack base -
> but didn't end up checking stack depth except for expression indexes).
No, just a personal preference for things like this.
--
Peter Geoghegan