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 1pJft4-0003Za-Fa for pgsql-hackers@arkaria.postgresql.org; Sun, 22 Jan 2023 19:20:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pJft2-0006cJ-OA for pgsql-hackers@arkaria.postgresql.org; Sun, 22 Jan 2023 19:20:16 +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 1pJft2-0006cA-FF for pgsql-hackers@lists.postgresql.org; Sun, 22 Jan 2023 19:20:16 +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 1pJft0-0008Er-0K for pgsql-hackers@postgresql.org; Sun, 22 Jan 2023 19:20:16 +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 30MJK2YG1354313; Sun, 22 Jan 2023 14:20:02 -0500 From: Tom Lane To: Jelte Fennema cc: Andres Freund , Peter Geoghegan , Bruce Momjian , Magnus Hagander , Alvaro Herrera , Stephen Frost , Noah Misch , Jesse Zhang , PostgreSQL-development Subject: Re: run pgindent on a regular basis / scripted manner In-reply-to: References: <20200814202651.GA31108@alvherre.pgsql> <1097305.1674334785@sss.pgh.pa.us> <20230121224312.qmwpagrebidr6hi7@awork3.anarazel.de> <20230122094957.x542ojaqgi4lalq4@awork3.anarazel.de> Comments: In-reply-to Jelte Fennema message dated "Sun, 22 Jan 2023 19:14:24 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1354311.1674415202.1@sss.pgh.pa.us> Date: Sun, 22 Jan 2023 14:20:02 -0500 Message-ID: <1354312.1674415202@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jelte Fennema writes: > When reading the emails in this discussion from 2 years ago > it seems like the respondents wouldn't mind updating the > typedefs.list manually. And proposed approach number 3 > seemed to have support overall, i.e. fail a push to master > when pgindent was not run on the new commit. Would > it make sense to simply try that approach and see if > there's any big issues with it? I will absolutely not accept putting in something that fails pushes on this basis. There are too many cases where pgindent purity is not an overriding issue. I mentioned a counterexample just upthread: even if you are as anal as you could be about indentation, you might prefer to separate a logic-changing patch from the ensuing mechanical reindentation. regards, tom lane