On Wed, Aug 12, 2020 at 7:47 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > I'm not in favor of unsupervised pgindent runs, really. It can do a lot > of damage to code that was written without thinking about it --- in > particular, it'll make a hash of comment blocks that were manually > formatted and not protected with dashes.
No committer should be committing code without thinking about pgindent. If some are, they need to up their game. I am not sure whether weekly or after-every-commit pgindent runs is a good idea, but I think we should try to do it once a month or so. It's too annoying otherwise. I could go either way on the question of automation. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company