Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsrIL-009nr5-Ux for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 21:08:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsrIJ-00EObn-KP for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 21:08:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsrIJ-00EOZH-A8 for pgsql-hackers@lists.postgresql.org; Tue, 17 Oct 2023 21:08:04 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsrIH-000ylt-OQ for pgsql-hackers@postgresql.org; Tue, 17 Oct 2023 21:08:02 +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 39HL7kd02984089; Tue, 17 Oct 2023 17:07:46 -0400 From: Tom Lane To: Magnus Hagander cc: Jelte Fennema , Maciek Sakrejda , Robert Haas , Peter Geoghegan , Andres Freund , Andrew Dunstan , Michael Paquier , shiy.fnst@fujitsu.com, Justin Pryzby , Noah Misch , Bruce Momjian , Alvaro Herrera , Stephen Frost , Jesse Zhang , pgsql-hackers , Peter Eisentraut Subject: Re: run pgindent on a regular basis / scripted manner In-reply-to: References: <30a72ba4-9ca4-15b5-db0f-0e68cba7ab26@dunslane.net> <1f594a4b-14c8-e159-b250-edf8a091320d@dunslane.net> <20230811212511.aih23qfthi24zhq4@awork3.anarazel.de> <338202.1691793002@sss.pgh.pa.us> <342032.1691794926@sss.pgh.pa.us> <8c4d8afb-cda1-299c-8011-f60cdaff3999@dunslane.net> <20230812211404.sydbwo2juu7vyhtg@awork3.anarazel.de> <530189.1691880417@sss.pgh.pa.us> <544112.1691886017@sss.pgh.pa.us> <2817272.1697559531@sss.pgh.pa.us> Comments: In-reply-to Magnus Hagander message dated "Tue, 17 Oct 2023 23:01:38 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2984087.1697576866.1@sss.pgh.pa.us> Date: Tue, 17 Oct 2023 17:07:46 -0400 Message-ID: <2984088.1697576866@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Magnus Hagander writes: > If it doesn't know how to rebuild it, aren't we going to be stuck in a > catch-22 if we need to change it in certain ways? Since an old version > of pg_bsd_indent would reject the patch that might include updating > it. (And when it does, one should expect the push to take quite a long > time, but given the infrequency I agree that part is probably not an > issue) Everyone who has proposed this has included a caveat that there must be a way to override the check. Given that minimal expectation, it shouldn't be too hard to deal with pg_bsd_indent-updating commits. regards, tom lane