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 1pqwsq-0002gy-BM for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2023 14:09:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pqwsp-0002D1-2E for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2023 14:09:35 +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 1pqwso-0002Cr-OK for pgsql-hackers@lists.postgresql.org; Mon, 24 Apr 2023 14:09:34 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pqwsh-004oBI-Ub for pgsql-hackers@postgresql.org; Mon, 24 Apr 2023 14:09:34 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id ECA605822B5; Mon, 24 Apr 2023 10:09:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 24 Apr 2023 10:09:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682345365; x=1682352565; bh=o4Rydt54xemo7jQxYOmUNiMhfm1djE+mwGC 7kEJKG/g=; b=L/xtx5CL/5Gh4zMaiWFwmHKzfwFIMshYLMlItFjVmAw1dOGyexo 2JEXSeDu8TNMgIoR2kNpJSVCENmXvFTtUcQCjMLoLOX6OD+kxp3goznat9Hxf5a5 MOVhYihXBJerFbaZDgKW/NKFSvp7F4pZdyDysEmd189WTCi7SdApuur2nObPLVTK KBN1FFozGCdPkhmc0ds9ylvG0WzXRNBeB9/IARdq02efoC4RLmgze5gNLffGO2uT wOJc0VrXgx2j4eWsRVDggOoBxnViTQ3M/1WCbtSYxA6CH9x8WHHkYS4VCDAnLHN7 c6MQvfuu/F/IGXqHg+02EdkCEHfd2u8m2zQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedutddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeehleffgeegudejteei hfelteduvdeifffhffdvjedvffegjeekudeludehudeifeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Apr 2023 10:09:22 -0400 (EDT) Message-ID: Date: Mon, 24 Apr 2023 16:09:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: run pgindent on a regular basis / scripted manner Content-Language: en-US To: Jelte Fennema , Tom Lane 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" References: <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> <3665234.1682174388@sss.pgh.pa.us> <3711455.1682193493@sss.pgh.pa.us> <3841176.1682262970@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 23.04.23 17:29, Jelte Fennema wrote: > On Sun, 23 Apr 2023 at 17:16, Tom Lane wrote: >> I think we could go ahead and commit the perltidyrc and README changes >> now. But the ensuing reformatting should happen as part of the mass >> pgindent run, probably next month sometime. > > I think it's better to make the changes close together, not with a > month in between. Otherwise no-one will be able to run perltidy on > their patches, because the config and the files are even more out of > sync than they are now. So I'd propose to commit the perltidyrc > changes right before the pgindent run. Does anyone find perltidy useful? To me, it functions more like a JavaScript compiler in that once you process the source code, it is no longer useful for manual editing. If we are going to have the buildfarm check indentation and that is going to be extended to Perl code, I have some concerns about that.