Re: [HACKERS] Anyone for prettyprinted EXPLAIN VERBOSE?

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: wieck(at)debis(dot)com (Jan Wieck), pgman(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Anyone for prettyprinted EXPLAIN VERBOSE?
Date: 1999-12-18 03:39:40
Message-ID: 3.0.1.32.19991217193940.00ee7200@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 02:47 AM 12/18/99 +0100, Jan Wieck wrote:

> Since Tom is asking, I assume at least he's the one who does.
> But then again, he must be able to see his target station
> expressed in some Expr-, Oper- and Func- nodes while pushing
> the buttons to get an underground-ticket. So who else does
> like the pretty printed version better for non-esthetical
> reasons?

Well, it's a lot more readable for newcomers who are interested in
learning how their queries are being turned into plans. Such newcomers
might become helpful people as time goes on and as they have time in
their life to become contributors...

It probably wouldn't be that hard to add a "jan" command that would
do a non-pretty-printed explain verbose for those who want it, would
it?

As far as X limitations on storing lines, for debugging clearly you
want to be able to dump stuff into files regardless of pretty or
"ugly" formatting...it wouldn't be difficult to modify psql to dump
explanations into a file directly, would it?

Dumping thousands of lines of either ugly or pretty plan dumps onto
a terminal is ... well ... terminal. You shouldn't have to do that.

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-12-18 04:06:39 initdb.sh fixed
Previous Message Bruce Momjian 1999-12-18 02:56:42 Re: [HACKERS] initdb messed up