Re: Reinitialize stack base after fork (for the benefit of rr)?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Reinitialize stack base after fork (for the benefit of rr)?
Date: 2020-04-06 01:54:09
Message-ID: 20200406015409.zdgoqyyomjufvjc4@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-04-04 21:02:56 -0700, Peter Geoghegan wrote:
> On Fri, Mar 27, 2020 at 11:22 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> > I've found rr [1] very useful to debug issues in postgres. The ability
> > to hit a bug, and then e.g. identify a pointer with problematic
> > contents, set a watchpoint on its contents, and reverse-continue is
> > extremely powerful.
>
> I agree that rr is very useful. It would be great if we had a totally
> smooth workflow for debugging using rr.

I just pushed that.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-04-06 02:47:57 Re: ALTER tbl rewrite loses CLUSTER ON index
Previous Message Kyotaro Horiguchi 2020-04-06 00:46:31 Re: [HACKERS] WAL logging problem in 9.4.3?