Re: [HACKERS] Querytree printing

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <jwieck(at)debis(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Querytree printing
Date: 1999-05-10 19:28:35
Message-ID: 199905101928.PAA10415@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-05-10 19:30:13 Re: [HACKERS] NULL = col
Previous Message Gabriele Neukam 1999-05-10 19:26:23 Re: Frage!