Re: pgsql: pg_upgrade: simplify code layout in a few places

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: pg_upgrade: simplify code layout in a few places
Date: 2018-01-06 02:10:52
Message-ID: 20180106021052.GA13203@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Jan 5, 2018 at 08:39:46PM -0500, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2018-01-05 18:57:55 -0500, Bruce Momjian wrote:
> >> On Fri, Jan 5, 2018 at 03:51:15PM -0800, Andres Freund wrote:
> >>> Also, leaving translatability aside, why was *any* of this backpatched?
>
> >> Tom has preferred that I backpatch all safe patches so we keep that code
> >> consistent so we can backpatch other things more easily.
>
> > I've a hard time believing this. Tom?
>
> I've been known to back-patch stuff just to keep branches consistent,
> but it's always a judgement call. In this case I wouldn't have done it
> (even if the patch were a good idea in HEAD) because it would cause
> churn in translatable messages in the back branches. Also, the case
> for cosmetic back-patching is only strong when a particular file is
> already pretty similar across all branches, and I'm not sure that
> holds for pg_upgrade.

There was a time when pg_upgrade was similar in all branches and
churning a lot with fixes, so I was going on that plan. At this point I
don't think that is true anymore, so maybe we can switch just to head
and PG 10 on this.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2018-01-06 11:50:15 pgsql: Default monitoring roles - errata
Previous Message Tom Lane 2018-01-06 01:39:46 Re: pgsql: pg_upgrade: simplify code layout in a few places

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2018-01-06 02:11:58 Re: Invalid pg_upgrade error message during live check
Previous Message Tom Lane 2018-01-06 01:39:46 Re: pgsql: pg_upgrade: simplify code layout in a few places