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: Fix version numbering foulups exposed by 10.1.
Date: Tue, 07 Nov 2017 00:47:04 +0000
Message-ID: <E1eBs2i-0005AR-Pq@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Fix version numbering foulups exposed by 10.1.

configure computed PG_VERSION_NUM incorrectly.  (Coulda sworn I tested
that logic back when, but it had an obvious thinko.)

pg_upgrade had not been taught about the new dispensation with just
one part in the major version number.

Both things accidentally failed to fail with 10.0, but with 10.1 we
got the wrong results.

Per buildfarm.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/958fe549884928cd3bdf009993e9a05df5fd6cee

Modified Files
--------------
configure                   |  2 +-
configure.in                |  2 +-
src/bin/pg_upgrade/exec.c   | 23 ++++++++++++++---------
src/bin/pg_upgrade/server.c | 18 +++++++++++++-----
4 files changed, 29 insertions(+), 16 deletions(-)


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


view thread (2+ messages)

Message-ID: <E1eBs2i-0005AR-Pq@gemulon.postgresql.org>
Permalink:  ../E1eBs2i-0005AR-Pq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eBs2i-0005AR-Pq@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: Fix version numbering foulups exposed by 10.1.
  In-Reply-To: <E1eBs2i-0005AR-Pq@gemulon.postgresql.org>
  References: <E1eBs2i-0005AR-Pq@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