Re: Adding a field in Path Structure and Plan Structure

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Zichen Xu <xzckiller(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adding a field in Path Structure and Plan Structure
Date: 2009-02-23 21:49:23
Message-ID: 87mycczuvw.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)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!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-02-23 21:55:22 Re: Adding a field in Path Structure and Plan Structure
Previous Message Euler Taveira de Oliveira 2009-02-23 21:31:51 Re: Adding a field in Path Structure and Plan Structure