Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRiFX-0007vQ-Bi for pgsql-hackers@arkaria.postgresql.org; Fri, 17 May 2019 19:10:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hRiFU-0005tT-OV for pgsql-hackers@arkaria.postgresql.org; Fri, 17 May 2019 19:10:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRiFU-0005tL-CD for pgsql-hackers@lists.postgresql.org; Fri, 17 May 2019 19:10:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRiFQ-0004dZ-Rj for pgsql-hackers@lists.postgresql.org; Fri, 17 May 2019 19:10:30 +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 x4HJAIbq018625; Fri, 17 May 2019 15:10:18 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgindent run next week? In-reply-to: <20190517181130.h3nycw5h3pi2fl3c@alap3.anarazel.de> References: <16296.1558103386@sss.pgh.pa.us> <20190517172700.bqb4oytgng4tshvm@alap3.anarazel.de> <1485.1558115222@sss.pgh.pa.us> <20190517181130.h3nycw5h3pi2fl3c@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 17 May 2019 11:11:30 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18623.1558120218.1@sss.pgh.pa.us> Date: Fri, 17 May 2019 15:10:18 -0400 Message-ID: <18624.1558120218@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-05-17 13:47:02 -0400, Tom Lane wrote: >> I dunno, how far back are you thinking? I've occasionally wished we >> could reindent all the back branches to match HEAD, but realistically, >> people carrying out-of-tree patches would scream. > I somehow thought we'd backpatched pgindent changes before, around when > moving to the newer version of indent. But I think we might just have > discussed that, and then didn't go for it... Yeah, we talked about it but never actually did it. > Not sure if a three-way merge wouldn't take care of many, but not all, > the out-of-tree patch concerns. I was wondering about "patch --ignore-whitespace" myself. In theory, to the extent that our recent rounds of pgindent fixes just change indentation, that would be able to cope (most of the time anyway). But I don't think I'd want to just assume that without testing. Anybody around here got large patches they're carrying against back branches, that they could try reapplying after running a newer version of pgindent? regards, tom lane