displaying contents

Started by Jaime Casanovaabout 21 years ago4 messages
#1Jaime Casanova
systemguards@yahoo.com

Hi,

there is way to display all the values (fields) in a
tree node like this? for debug purpouses.

Query *query;

regards,
Jaime Casanova

_________________________________________________________
Do You Yahoo!?
Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias.
Vis�tanos en http://noticias.espanol.yahoo.com

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jaime Casanova (#1)
Re: displaying contents

Jaime Casanova <systemguards@yahoo.com> writes:

there is way to display all the values (fields) in a
tree node like this? for debug purpouses.

Query *query;

Look at elog_node_display().

regards, tom lane

#3Jaime Casanova
systemguards@yahoo.com
In reply to: Tom Lane (#2)
Re: displaying contents
 --- Tom Lane <tgl@sss.pgh.pa.us> escribi�: 

Jaime Casanova <systemguards@yahoo.com> writes:

there is way to display all the values (fields) in

a

tree node like this? for debug purpouses.

Query *query;

Look at elog_node_display().

regards, tom lane

Ok. Thanks.

regards,
Jaime Casanova

_________________________________________________________
Do You Yahoo!?
Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias.
Vis�tanos en http://noticias.espanol.yahoo.com

#4Alvaro Herrera
alvherre@dcc.uchile.cl
In reply to: Jaime Casanova (#1)
Re: displaying contents

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[@]dcc.uchile.cl>)
"Postgres is bloatware by design: it was built to house
PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)