Re: run pgindent on a regular basis / scripted manner
От | Robert Haas |
---|---|
Тема | Re: run pgindent on a regular basis / scripted manner |
Дата | |
Msg-id | CA+TgmoYH1hMi1Xtg+LEwf-HYfbEGS9UaJ7wZV3UFZEbrZ1zZAw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: run pgindent on a regular basis / scripted manner (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: run pgindent on a regular basis / scripted manner
|
Список | pgsql-hackers |
On Wed, Aug 12, 2020 at 7:47 PM Tom Lane <tgl@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
В списке pgsql-hackers по дате отправления: