Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pqEPH-00029V-Jt for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Apr 2023 14:40:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pqEPG-0001Tu-F3 for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Apr 2023 14:40:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pqEPG-0001Tl-5N for pgsql-hackers@lists.postgresql.org; Sat, 22 Apr 2023 14:40:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pqEP9-004Rck-V7 for pgsql-hackers@postgresql.org; Sat, 22 Apr 2023 14:40:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 33MEdmPr3665235; Sat, 22 Apr 2023 10:39:48 -0400 From: Tom Lane To: Jelte Fennema cc: Andrew Dunstan , "shiy.fnst@fujitsu.com" , Robert Haas , Justin Pryzby , Andres Freund , Noah Misch , Peter Geoghegan , Bruce Momjian , Magnus Hagander , Alvaro Herrera , Stephen Frost , Jesse Zhang , "pgsql-hackers@postgresql.org" , Peter Eisentraut Subject: Re: run pgindent on a regular basis / scripted manner In-reply-to: References: <1708030.1675446770@sss.pgh.pa.us> <20230204041848.GC1896331@rfd.leadboat.com> <20230204113453.vmtnayjvhyg5qqqy@alap3.anarazel.de> <1923921.1675526879@sss.pgh.pa.us> <20230204171101.GF1653@telsasoft.com> <2009472.1675532231@sss.pgh.pa.us> <3d67bc80-4de2-5ba8-e272-e4ad2e59ba04@dunslane.net> <4ac8f263-f1bb-faa5-a307-1fffe00f0e3e@dunslane.net> <0f074818-b01a-799f-3c74-5fb5deab1d23@dunslane.net> <1d66447e-a77b-ca0d-90a0-782800e85383@dunslane.net> ! Comments: In-reply-to Jelte Fennema message dated "Fri, 21 Apr 2023 09:58:17 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3665233.1682174388.1@sss.pgh.pa.us> Date: Sat, 22 Apr 2023 10:39:48 -0400 Message-ID: <3665234.1682174388@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jelte Fennema writes: > I think there's two things needed to actually start doing this: > 1. We need to reindent the tree to create an indented baseline As far as (1) goes, I've been holding off on that because there are some large patches that still seem in danger of getting reverted, notably 2489d76c4 and follow-ups. A pgindent run would change any such reversions from being mechanical into possibly a fair bit of work. We still have a couple of weeks before it's necessary to make such decisions, so I don't want to do the pgindent run before that. Another obstacle in the way of (1) is that there was some discussion of changing perltidy version and/or options. But I don't believe we have a final proposal on that, much less committed code. regards, tom lane