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

Re: Adding a field in Path Structure and Plan Structure

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:58:24
Message-ID: 49A31C00.7090803@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>> Right now, the compile is fine and
>> build is fine. However, everytime the server is running and I send a
>> query to the server, it crashed. as
>>     
>
> Crashed where?  If you're not reasonably handy with gdb or some other
> favorite debugger, stop what you're doing and go learn one.  The
> investment of time will be repaid very quickly if you're doing any
> nontrivial C programming.
>
>   

In particular, learn to build postgres with debugging enabled 
(--enable-debug), start postgres with core file generation enabled 
(pg_ctl -c ... start) and get a backtrace from a core file (gdb -ex bt 
--batch /path/to/postgres /path/to/corefile)

cheers

andrew

In response to

pgsql-hackers by date

Next:From: Jonah H. HarrisDate: 2009-02-23 23:03:17
Subject: Re: Hadoop backend?
Previous:From: Robert HaasDate: 2009-02-23 21:55:22
Subject: Re: Adding a field in Path Structure and Plan Structure

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