From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ExplainProperty* and units |
Date: | 2018-03-14 16:07:09 |
Message-ID: | 20180314160709.cuxyq5v22mgien4i@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2018-03-14 14:34:38 +1300, David Rowley wrote:
> On 14 March 2018 at 13:27, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > In the attached *POC* patch I've added a 'unit' parameter to the numeric
> > ExplainProperty* functions, which EXPLAIN_FORMAT_TEXT adds to the
> > output. This can avoid the above and other similar branches (of which
> > the JIT patch would add a number).
>
> > Comments?
>
> This seems like a good change.
Cool.
> It would be nice to see us completely get rid of all the
> appendStringInfo* calls, apart from in the functions which meant to
> handle the behaviour specific to the explain format. This is a step
> towards that, so has my vote.
Do you mean you want to only use ExplainProperty*? Given the desire of
density for plan output that seem hard to achieve.
> Functions like show_hash_info are making it difficult to do more in this area.
Hm, what's the problem?
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2018-03-14 16:41:17 | Re: Comment fixes in create_grouping_paths() add_paths_to_append_rel() |
Previous Message | Jesper Pedersen | 2018-03-14 15:28:29 | EXPLAIN of Parallel Append |