Re: Adding a field in Path Structure and Plan Structure - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Adding a field in Path Structure and Plan Structure
Date
Msg-id 87mycczuvw.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Adding a field in Path Structure and Plan Structure  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Adding a field in Path Structure and Plan Structure  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:

> Attach to the backend with gdb.  Then you can get a backtrace, esp. if
> you've built with --enable-debug.
>
> It may be helpful to use lsof to figure out which backend your psql
> session is connected to.

select backend_pid();

is pretty handy for this. Though if you have the backend crashing on every
plan it may not help...
--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's Slony Replication
support!


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Adding a field in Path Structure and Plan Structure
Next
From: Robert Haas
Date:
Subject: Re: Adding a field in Path Structure and Plan Structure