Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group