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 1pO0FI-0004QO-DZ for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Feb 2023 17:53:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pO0FH-0001YG-31 for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Feb 2023 17:53:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pO0FG-0001TX-P9 for pgsql-hackers@lists.postgresql.org; Fri, 03 Feb 2023 17:53:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pO0FE-0005Xe-2d for pgsql-hackers@postgresql.org; Fri, 03 Feb 2023 17:53: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 313Hqoge1708031; Fri, 3 Feb 2023 12:52:51 -0500 From: Tom Lane To: Andrew Dunstan cc: Andres Freund , Jelte Fennema , 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: <1097305.1674334785@sss.pgh.pa.us> <20230121224312.qmwpagrebidr6hi7@awork3.anarazel.de> <20230122094957.x542ojaqgi4lalq4@awork3.anarazel.de> <20230122223806.3sgew6qswhsczae7@awork3.anarazel.de> <1489276.1674427657@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Fri, 03 Feb 2023 11:44:46 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1708029.1675446770.1@sss.pgh.pa.us> Date: Fri, 03 Feb 2023 12:52:50 -0500 Message-ID: <1708030.1675446770@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 2023-01-22 Su 17:47, Tom Lane wrote: >> Yeah. That's one of my biggest gripes about pgperltidy: if you insert >> another assignment in a series of assignments, it is very likely to >> reformat all the adjacent assignments because it thinks it's cool to >> make all the equal signs line up. That's just awful. > Modern versions of perltidy give you much more control over this, so > maybe we need to investigate the possibility of updating. I have no objection to updating perltidy from time to time. I think the idea is just to make sure that we have an agreed-on version for everyone to use. regards, tom lane