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 1pNTH1-0004Fx-42 for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Feb 2023 06:40:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pNTGz-0000Kl-Jq for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Feb 2023 06:40:41 +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 1pNTGz-0000H4-AH for pgsql-hackers@lists.postgresql.org; Thu, 02 Feb 2023 06:40:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pNTGw-0001FU-Qs for pgsql-hackers@postgresql.org; Thu, 02 Feb 2023 06:40:40 +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 3126eTST1477792; Thu, 2 Feb 2023 01:40:29 -0500 From: Tom Lane To: Noah Misch cc: Bruce Momjian , Jelte Fennema , Andres Freund , Peter Geoghegan , Magnus Hagander , Alvaro Herrera , Stephen Frost , Jesse Zhang , PostgreSQL-development Subject: Re: run pgindent on a regular basis / scripted manner In-reply-to: <20230202062838.GA1832088@rfd.leadboat.com> References: <20230123011002.fzcaa3krql3mqsfn@awork3.anarazel.de> <1509591.1674437376@sss.pgh.pa.us> <1608158.1674486546@sss.pgh.pa.us> <20230123173136.knn77pbuakhvjfgk@awork3.anarazel.de> <2238493.1674572097@sss.pgh.pa.us> <20230129010603.GA1677550@rfd.leadboat.com> <20230202062838.GA1832088@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Wed, 01 Feb 2023 22:28:38 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1477790.1675320029.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 02 Feb 2023 01:40:29 -0500 Message-ID: <1477791.1675320029@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > Regarding the concern about a pre-receive hook blocking an emergency pus= h, the > hook could approve every push where a string like "pgindent: no" appears= in a > commit message within the push. You'd still want to make the tree clean > sometime the same week or so. It's cheap to provide a break-glass like = that. I think the real question here is whether we can get all (or at least a solid majority of) committers to accept such draconian constraints. I'd buy into it, and evidently so would you, but I can't help noting that less than a quarter of active committers have bothered to comment on this thread. I suspect the other three-quarters would be quite annoyed if we tried to institute such requirements. That's not manpower we can afford to drive away. Maybe this should get taken up at the this-time-for-sure developer meeting at PGCon? regards, tom lane