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 1hTWtc-0001kY-I7 for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 19:27:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTWta-00076u-Vt for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 19:27:26 +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 1hTWta-00076B-It for pgsql-hackers@lists.postgresql.org; Wed, 22 May 2019 19:27:26 +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 1hTWtY-0006Cg-3r for pgsql-hackers@lists.postgresql.org; Wed, 22 May 2019 19:27:25 +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 x4MJRIpC010208; Wed, 22 May 2019 15:27:18 -0400 From: Tom Lane To: Peter Eisentraut cc: Andres Freund , pgsql-hackers@lists.postgresql.org Subject: Re: pgindent run next week? In-reply-to: References: <16296.1558103386@sss.pgh.pa.us> <20190517172700.bqb4oytgng4tshvm@alap3.anarazel.de> <7004.1558475214@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Wed, 22 May 2019 21:13:04 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10206.1558553238.1@sss.pgh.pa.us> Date: Wed, 22 May 2019 15:27:18 -0400 Message-ID: <10207.1558553238@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > In my experience, changes to function declarations in header files > happen a lot in forks. So applying the pgindent change to backbranches > would cause some trouble. > On the other hand, it seems to me that patches that we backpatch between > PostgreSQL branches should normally not touch function declarations in > header files, since that would be an ABI break. So by not applying the > pgindent change in backbranches we don't lose anything. And so it would > be better to just leave things as they are. Maybe we could wait awhile and see how much pain we find in back-patching across this change. I have to admit that the v10 pgindent changes have not been as painful as I expected them to be, so maybe this round will also prove to be just an annoyance not a major PITA for that. Another thought is that, at least in principle, we could re-indent only .c files not .h files in the back branches. But I'm not sure I believe your argument that forks are more likely to touch exposed extern declarations than local static declarations. regards, tom lane