Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXbuV-0001Ng-7O for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 00:00:27 +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 1eXbuU-00043I-RL for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Jan 2018 00:00:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXbuU-000438-Hw for pgsql-hackers@lists.postgresql.org; Sat, 06 Jan 2018 00:00:26 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXbuS-0006Lf-92 for pgsql-hackers@postgresql.org; Sat, 06 Jan 2018 00:00:25 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7D3CC22524; Fri, 5 Jan 2018 19:00:23 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 05 Jan 2018 19:00:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=rmCgFFeoXL3DLIVokeBH1F1Z17GDA fZ7E8e1/WFs+xM=; b=AWjhSQYATIxdNdgHH52YNMQ4lnNqt79tPY8UCjoYqZONv LjwyrePzY15YnvlG6MSbP8PCZoUziSEc5UBqtcP7asDrCWL6H8kFXfzkR0lAgJeK ZVluYL4lxAsZQfX7hYinXPxFifHB9e8HR+6V7jJwpGzVtKhALItklOw3d44BI8DO TUsfgtXZMVR1FPXPGiRQNanltapoAU4HGRBUBGK5v7bvW1ZLM+eomMj+C1RuNarY A2tKdRPHGbmrGYL78T0t1FAJH6m7k7Hm+xt/BFy7ji8Wtk4tMyVu/yMJcfEhp7ep FbjKHBjegh/FwAwl+PdSoF6IPIb01VwCS2Kl5b7DQ== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 2661824235; Fri, 5 Jan 2018 19:00:23 -0500 (EST) Date: Fri, 5 Jan 2018 16:00:21 -0800 From: Andres Freund To: Bruce Momjian , Tom Lane Cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: pg_upgrade: simplify code layout in a few places Message-ID: <20180106000021.upzfsedvor4uriqp@alap3.anarazel.de> References: <20180105235115.73ea64bzplxe7ebh@alap3.anarazel.de> <20180105235755.GA13186@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180105235755.GA13186@momjian.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-01-05 18:57:55 -0500, Bruce Momjian wrote: > On Fri, Jan 5, 2018 at 03:51:15PM -0800, Andres Freund wrote: > > On 2018-01-05 14:20:59 -0500, Robert Haas wrote: > > > On Fri, Jan 5, 2018 at 2:11 PM, Bruce Momjian wrote: > > > > pg_upgrade: simplify code layout in a few places > > > > > > > > Backpatch-through: 9.4 (9.3 didn't need improving) > > > > > > Hmm. We don't normally do things like this, because it breaks translatability. > > > > Also, leaving translatability aside, why was *any* of this backpatched? > > Unless there's very good maintainability reasons we normally don't > > backpatch minor refactorings? > > 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? Greetings, Andres Freund