pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add 'unit' parameter to ExplainProperty{Integer,Float}.
Date: Sat, 17 Mar 2018 06:33:45 +0000
Message-ID: <E1ex5PV-0002WB-1k@gemulon.postgresql.org> (raw)

Add 'unit' parameter to ExplainProperty{Integer,Float}.

This allows to deduplicate some existing code, but mainly avoids some
duplication in upcoming commits.

In passing, fix variable names indicating wrong unit (seconds instead
of ms).

Author: Andres Freund
Discussion: https://postgr.es/m/20180314002740.cah3mdsonz5mxney@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7a50bb690b4837d29e715293c156cff2fc72885c

Modified Files
--------------
contrib/file_fdw/file_fdw.c    |   2 +-
src/backend/commands/explain.c | 199 ++++++++++++++++++++++-------------------
src/include/commands/explain.h |   8 +-
3 files changed, 113 insertions(+), 96 deletions(-)



Message-ID: <E1ex5PV-0002WB-1k@gemulon.postgresql.org>
Permalink:  ../E1ex5PV-0002WB-1k@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ex5PV-0002WB-1k@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Add 'unit' parameter to ExplainProperty{Integer,Float}.
  In-Reply-To: <E1ex5PV-0002WB-1k@gemulon.postgresql.org>
  References: <E1ex5PV-0002WB-1k@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox