Re: CI: Add task that runs pgindent
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Jelte Fennema-Nio <me@jeltef.nl>, Nazir Bilal Yavuz <byavuz81@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-22T04:33:43Z
Lists: pgsql-hackers
On Tue, Oct 21, 2025 at 05:04:50PM +0200, Daniel Gustafsson wrote: > Indeed there is, I admittedly was under the impression that koel ran pgperltidy > but clearly I was wrong. The original thread about forcing a stronger indentation policy was that we could begin with the C code, leaving everything that is not C up to the committer who pushes a change. Another one would be a check on reformat-dat-files. Personally, I tend to be careful with the dat files, or the indentation of the perl code before pushing anything. The trend I am seeing is that a lot of committers are very careful about that as well, so perhaps we could go one step higher. Fireproof vest is on and ready for impact. -- Michael