debugging tools inside postgres

From: HuangQi <huangqiyx(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: debugging tools inside postgres
Date: 2011-06-24 06:35:08
Message-ID: BANLkTindKuQm+Qh+dSoqbW0UD3USyg+Cvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I'm trying to debug a modification for the query planner. But I found it
seems the data structure of my planned query is incorrect. I was trying to
print out the data structure by use the "p" command in gdb which is quite
inconvenient and takes time. May I know is there any embedded function in
postgres to print out the node data structures, or any other plan related
data structures? Thanks.

--
Best Regards
Huang Qi Victor

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-06-24 08:40:08 Re: WIP: Fast GiST index build
Previous Message Mark Kirkwood 2011-06-24 06:01:50 Re: Re: patch review : Add ability to constrain backend temporary file space