Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXdSr-000881-Lt for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 01:40:01 +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 1eXdSr-0006Dn-1C for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 01:40:01 +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 1eXdSq-0006Dd-Qt for pgsql-hackers@lists.postgresql.org; Sat, 06 Jan 2018 01:40:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXdSn-00018U-AR for pgsql-hackers@postgresql.org; Sat, 06 Jan 2018 01:40:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w061dkWv020250; Fri, 5 Jan 2018 20:39:46 -0500 From: Tom Lane To: Andres Freund cc: Bruce Momjian , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: pg_upgrade: simplify code layout in a few places In-reply-to: <20180106000021.upzfsedvor4uriqp@alap3.anarazel.de> References: <20180105235115.73ea64bzplxe7ebh@alap3.anarazel.de> <20180105235755.GA13186@momjian.us> <20180106000021.upzfsedvor4uriqp@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 05 Jan 2018 16:00:21 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20248.1515202786.1@sss.pgh.pa.us> Date: Fri, 05 Jan 2018 20:39:46 -0500 Message-ID: <20249.1515202786@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. regards, tom lane