Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXdwq-0001cQ-6x for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 02:11:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXdwp-00030b-QF for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 02:10:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXdwp-00030Q-Jp for pgsql-hackers@lists.postgresql.org; Sat, 06 Jan 2018 02:10:59 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eXdwl-0001qL-ET for pgsql-hackers@postgresql.org; Sat, 06 Jan 2018 02:10:59 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1eXdwi-0003nZ-3d; Fri, 05 Jan 2018 21:10:52 -0500 Date: Fri, 5 Jan 2018 21:10:52 -0500 From: Bruce Momjian To: Tom Lane Cc: Andres Freund , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: pg_upgrade: simplify code layout in a few places Message-ID: <20180106021052.GA13203@momjian.us> References: <20180105235115.73ea64bzplxe7ebh@alap3.anarazel.de> <20180105235755.GA13186@momjian.us> <20180106000021.upzfsedvor4uriqp@alap3.anarazel.de> <20249.1515202786@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20249.1515202786@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Jan 5, 2018 at 08:39:46PM -0500, Tom Lane wrote: > Andres Freund 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 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 +