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 1pO8Re-0007eE-4i for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Feb 2023 02:38:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pO8Rb-0005eE-3c for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Feb 2023 02:38:23 +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 1pO8RZ-0005Wt-Ed for pgsql-hackers@lists.postgresql.org; Sat, 04 Feb 2023 02:38:22 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pO8RW-0001Nf-4R for pgsql-hackers@postgresql.org; Sat, 04 Feb 2023 02:38:20 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8B73D5C0214; Fri, 3 Feb 2023 21:38:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 03 Feb 2023 21:38:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1675478296; x=1675564696; bh=nYfv/BskAL sT6haevNrHIs96cLCWLvv6FTmd5UF8gI0=; b=qosrOT/z7Khs0uDnHBUxj+NFrL IxbZzU+qWLioBU9EOFEsg2W9JiPwYsNofawXUPYX1MxeXdqa4GkOHsdcPEVE8hq2 QODnhqO+GXO8Ajj/3BKefK2t1mUQE0GI1M/CC3MpzRqXDVl1ChsZxFB/srHodN/Q zscQxEOcazFdNeC1bSLIwkuIrzwfDu4BwRisneSmq6tWVHzhmoPI0bdYfpLerBwr vv0REqZvTj/mrcsfZkQDSFgghEOblJzlwAl9ErKb/VQ1BWmXP8zg7hvOos7cefB7 y4km4lPUgsk+106N2/PhApnbkq3KW7+mK/Fygv33Py35lTelsWGnMTSgorNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1675478296; x=1675564696; bh=nYfv/BskALsT6haevNrHIs96cLCW Lvv6FTmd5UF8gI0=; b=DJsddF9FEZyZ9XIDs9wXPqRTg1mD3P54tvElzgTwADNW uPasQYV7LbKv8g/vSocJIdr3zsas5Fbtzl10zGyqJ1dZLimBWTRWgobfPs26hwsz ReMB8aMBf6Fza6Pqg0kildh/4qRkygG7KQZgXMD79xhd7kqO39e5yorCJsaHUQrm eSIFcuenP4hi7l5clCWKdfKTRLlP5wiq0uG9g7rxOot97Ks1PUa5sKxrI0a5ciQl hp2Jrvwuigp8t2eOw8l0hkmbDpYeHS7dcCwlXZ6yuquxkK6VFL5NQa1rfUaTaodG xJDAAU4//f1ZjzGXURJ7PT4jn83/DSgViTntz0jiDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeguddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Feb 2023 21:38:12 -0500 (EST) Date: Sat, 4 Feb 2023 11:38:08 +0900 From: Michael Paquier To: Dean Rasheed Cc: Tom Lane , Noah Misch , 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 Message-ID: References: <20230123173136.knn77pbuakhvjfgk@awork3.anarazel.de> <2238493.1674572097@sss.pgh.pa.us> <20230129010603.GA1677550@rfd.leadboat.com> <20230202062838.GA1832088@rfd.leadboat.com> <1477791.1675320029@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dpu1ea9h6xZnpyPl" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Dpu1ea9h6xZnpyPl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2023 at 11:34:37AM +0000, Dean Rasheed wrote: > I didn't reply until now, but I'm solidly in the camp of committers > who care about keeping the tree properly indented, and I wouldn't have > any problem with such a check being imposed. So do I. pgindent is part of my routine when it comes to all the patches I merge on HEAD, and having to clean up unrelated diffs in the files touched after an indentation is always annoying. FWIW, I just use a script that does pgindent, pgperltidy, pgperlcritic and `make reformat-dat-files` in src/include/catalog. > I regularly run pgindent locally, and if I ever commit without > indenting, it's either intentional, or because I forgot, so the > reminder would be useful. >=20 > And as someone who runs pgindent regularly, I think this will be a net > time saver, since I won't have to skip over other unrelated indent > changes all the time. +1. -- Michael --Dpu1ea9h6xZnpyPl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmPdxRAACgkQnvQgOdby QH2hyQ/8D3oiMdX3OMnISazQBPPtMP7/bEMpgEW/+2hhx5KdW0Lbw46pgRUnwPi9 kwgGjl4msw29g1rmkMk36OjteZs65QRqqsh33eWTXpcs5I221NTtqQHN8LNp/ZEi /Qv4khlsPWCG4Z4pjKcBqZaVfachLmTT7gRCCxm1SDb38BleYaSQZ4tsz3xsZHvI 6g7YDGv99FAFzXsUiqPSCUuFEF1a95KTg82hkpX9EekrRCLHjSsQ3xBUf1Jy95Ff FgrfYifHewmuirnHInGvEzcexXgROGe+AD8nQLhKuUHqSYxk3byzOaVfZlly2bMU OhLnxoY/6S4VKmVEXGM3A3/IukJrgckQEb8HCWd96MSF9DjCQbtKibLk0YwBv1Xy VZG7k98QYgHGJ9Glp2x4BLTnu3RCJhSw0Uk9jUM2OmkN8g7WfIzk+eRPI8e7LrpG iRoYYJjgoFS3gY9zO9asUbRy657EDy+6G79bD2c9wGRifVMo+mqb+pHohWUnQKwL 9DEuEwq+GSQ8hQGDpslAfWL3Xn/0+NyAcP1Lx72UVis8zZVh0vME78p75/Tad+2d npRLTJv3HNV9wEMFmU3teeTdzIGMw7Afg/Ky5zYn2rpXMd7K93xhvj9igtZgsyVE v1uAqyDrcJttt4TC4vo3moYTYMEf7TE4SMDE3oVWPHVGANXDbc8= =4uJG -----END PGP SIGNATURE----- --Dpu1ea9h6xZnpyPl--