Re: [HACKERS] displaying contents

2004-12-28 Thread Alvaro Herrera
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 ([EMAIL PROTECTED])
Postgres is bloatware by design: it was built to house
 PhD theses. (Joey Hellerstein, SIGMOD annual conference 2002)

---(end of broadcast)---
TIP 8: explain analyze is your friend


[HACKERS] displaying contents

2004-12-27 Thread Jaime Casanova
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

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [HACKERS] displaying contents

2004-12-27 Thread Tom Lane
Jaime Casanova [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [HACKERS] displaying contents

2004-12-27 Thread Jaime Casanova
 --- Tom Lane [EMAIL PROTECTED] escribió: 
 Jaime Casanova [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings