Re: \timing interval - Mailing list pgsql-hackers

From Tom Lane
Subject Re: \timing interval
Date
Msg-id 8925.1473187547@sss.pgh.pa.us
Whole thread Raw
In response to Re: \timing interval  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: \timing interval
List pgsql-hackers
Corey Huinker <corey.huinker@gmail.com> writes:
> On Sun, Sep 4, 2016 at 7:05 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
>> I'd find this useful in the final output of EXPLAIN ANALYZE as well; any
>> objections to adding it?

> It's sorta out of my hands now, but what Tom said earlier is that because
> this is client-side code, it wouldn't use existing interval code.
> EXPLAIN *is* server-side, we couldn't use this code, but we could leverage
> existing interval code there to achieve a similar concept.

If we like this specific output format, I'd be inclined to just
copy-and-paste the code from psql.  I seriously doubt that getting type
interval involved in the discussion would lead to a shorter or
better-performing solution.

> I have another thing I'd like to add to EXPLAIN output : server version
> number output. So maybe we can pick those up in another thread.

Ugh.  There are multiple ways to get that already, and it's not like
space in EXPLAIN's output is not a precious resource.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Showing parallel status in \df+
Next
From: Simon Riggs
Date:
Subject: Re: Vacuum: allow usage of more than 1GB of work mem