Re: [HACKERS] Querytree printing

From: jwieck(at)debis(dot)com (Jan Wieck)
To: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: jwieck(at)debis(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Querytree printing
Date: 1999-05-11 09:00:45
Message-ID: m10h8P7-000EBXC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> > Who needs the pretty printed output of nodeDisplay() ?
> >
> > I find the output of nodeToString() much more useful when
> > debugging the rewrite system (especially when looking at
> > querytree's resulting from joins with many RTE's, Resdom's,
> > TLE's plus qual, group by etc. clauses. It's hard to keep
> > track where I am if the entire tree spans hundreds of lines.
> >
> > Thus I would like to change the output of -d4 back to that of
> > nodeToString(). Anyone against?
>
> I like the long pretty printing, with the indentation. You are
> suggesting going to the more compressed format. Can we have -d4 do
> compressed printing, and -d5 to pretty printing? That would be good.

Yepp - that's the right solution. Done soon!

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message gjerde 1999-05-11 09:24:50 Re: [HACKERS] problem compiling 6.5 cvs (Linux, gcc 2.7.2, egcs 1.12)
Previous Message Michael Meskes 1999-05-11 08:23:29 Re: [HACKERS] ecpg fixes