Re: Making the regression tests halt to attach a debugger - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Making the regression tests halt to attach a debugger
Date
Msg-id 555A1E49.8040402@dunslane.net
Whole thread Raw
In response to Re: Making the regression tests halt to attach a debugger  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making the regression tests halt to attach a debugger  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 05/18/2015 01:05 PM, Tom Lane wrote:
> Meh.  You could also add "select pg_backend_pid()" or some such.
> But really, the way I generally do this is to run gdb via a script
> that auto-attaches to the right postgres process if at all possible.
> Removes the whole problem.
>

This should go on the wiki.

cheers

andrew




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: How does MSVC's fetchRegressOpts() work at all?
Next
From: Peter Geoghegan
Date:
Subject: Re: jsonb concatenate operator's semantics seem questionable