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: Make ExplainPropertyInteger accept 64bit input, remove *Long var
Date: Sat, 17 Mar 2018 06:33:45 +0000
Message-ID: <E1ex5PV-0002WA-1d@gemulon.postgresql.org> (raw)

Make ExplainPropertyInteger accept 64bit input, remove *Long variant.

'long' is not useful type across platforms, as it's 32bit on 32 bit
platforms, and even on some 64bit platforms (e.g. windows) it's still
only 32bits wide.

As ExplainPropertyInteger should never be performance critical, change
it to accept a 64bit argument and remove ExplainPropertyLong.

Author: Andres Freund
Discussion: https://postgr.es/m/20180314164832.n56wt7zcbpzi6zxe@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb

Modified Files
--------------
contrib/file_fdw/file_fdw.c    |  4 +--
src/backend/commands/explain.c | 71 +++++++++++++++++++++---------------------
src/include/commands/explain.h |  4 +--
3 files changed, 39 insertions(+), 40 deletions(-)



Message-ID: <E1ex5PV-0002WA-1d@gemulon.postgresql.org>
Permalink:  ../E1ex5PV-0002WA-1d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ex5PV-0002WA-1d@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: Make ExplainPropertyInteger accept 64bit input, remove *Long var
  In-Reply-To: <E1ex5PV-0002WA-1d@gemulon.postgresql.org>
  References: <E1ex5PV-0002WA-1d@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