From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Jaime Casanova <systemguards(at)yahoo(dot)com> |
Cc: | pgsql hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: displaying contents |
Date: | 2004-12-27 23:38:06 |
Message-ID: | 20041227233806.GK4154@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Dec 27, 2004 at 03:11:11PM -0600, Jaime Casanova wrote:
Jaime,
> there is way to display all the values (fields) in a
> tree node like this? for debug purpouses.
>
> Query *query;
Have you tried gdb already? You attach it to a running backend and can
query the (err) Query struct.
Query is a Node, so it can be stringified by nodeToString(); you can
elog/ereport that or use elog_node_display().
--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Postgres is bloatware by design: it was built to house
PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)
From | Date | Subject | |
---|---|---|---|
Next Message | Benjamin Arai | 2004-12-28 02:02:59 | Where do I get the spec for PostgreSQL |
Previous Message | Bruce Momjian | 2004-12-27 22:56:33 | Re: RC2 and open issues |