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

Re: Adding a field in Path Structure and Plan Structure

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Gregory Stark <stark(at)enterprisedb(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:55:22
Message-ID: 603c8f070902231355v6e071a43k8af20305d462b3cb@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, Feb 23, 2009 at 4:49 PM, Gregory Stark <stark(at)enterprisedb(dot)com> wrote:
> 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...

pg_backend_pid()

...Robert

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2009-02-23 21:58:24
Subject: Re: Adding a field in Path Structure and Plan Structure
Previous:From: Gregory StarkDate: 2009-02-23 21:49:23
Subject: Re: Adding a field in Path Structure and Plan Structure

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