Re: machine-readable explain output v4

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Mike <ipso(at)snappymail(dot)ca>, Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: machine-readable explain output v4
Date: 2009-08-12 15:41:19
Message-ID: 4A82E29F.9050909@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Csaba Nagy wrote:
> Then why you bother calling it "machine readable" at all ? Would you
> really read your auto-explain output on the DB server ? I doubt that's
> the common usage scenario, I would expect that most people would let a
> tool extract/summarize it and definitely process it somewhere else than
> on the DB machine, with the proper tool set.
>

Sure I would. I look at log files almost every day to find out things.
Why should I have to wade through a pile of utterly unreadable crap to
find it?

Auto-explain lets you have *one* output format. To follow your approach,
I will have to change that, and have two log files, one machine
processable and one human readable. Triple bleah.

I have not suggested anything that would break the machine readability.
You seem to think that making the machine readable output remotely human
friendly is somehow going to detract from its machine processability.
But that's just silly, frankly. I do not want and should not have to
choose between a format that is machine readable and one that is to some
extent human readable.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2009-08-12 15:49:47 Re: COPY speedup
Previous Message Csaba Nagy 2009-08-12 15:40:38 Re: machine-readable explain output v4