pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove pg_control's enableIntTimes field.
Date: Thu, 23 Feb 2017 17:23:18 +0000
Message-ID: <E1cgx6s-0004x3-3a@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Remove pg_control's enableIntTimes field.

We don't need it any more.

pg_controldata continues to report that date/time type storage is
"64-bit integers", but that's now a hard-wired behavior not something
it sees in the data.  This avoids breaking pg_upgrade, and perhaps other
utilities that inspect pg_control this way.  Ditto for pg_resetwal.

I chose to remove the "bigint_timestamps" output column of
pg_control_init(), though, as that function hasn't been around long
and probably doesn't have ossified users.

Discussion: https://postgr.es/m/26788.1487455319@sss.pgh.pa.us

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d28aafb6dda326688e2f042c95c93ea57963c03c

Modified Files
--------------
doc/src/sgml/func.sgml                  |  5 -----
src/backend/access/transam/xlog.c       | 21 ---------------------
src/backend/utils/misc/pg_controldata.c | 23 +++++++++--------------
src/bin/pg_controldata/pg_controldata.c |  3 ++-
src/bin/pg_resetwal/pg_resetwal.c       |  8 ++------
src/include/catalog/catversion.h        |  2 +-
src/include/catalog/pg_control.h        |  5 +----
src/include/catalog/pg_proc.h           |  2 +-
8 files changed, 16 insertions(+), 53 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cgx6s-0004x3-3a@gemulon.postgresql.org>
Permalink:  ../E1cgx6s-0004x3-3a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cgx6s-0004x3-3a@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove pg_control's enableIntTimes field.
  In-Reply-To: <E1cgx6s-0004x3-3a@gemulon.postgresql.org>
  References: <E1cgx6s-0004x3-3a@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