Re: run pgindent on a regular basis / scripted manner
От | Bruce Momjian |
---|---|
Тема | Re: run pgindent on a regular basis / scripted manner |
Дата | |
Msg-id | ZEwLkolRx/qvLDxI@momjian.us обсуждение исходный текст |
Ответ на | Re: run pgindent on a regular basis / scripted manner (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: run pgindent on a regular basis / scripted manner
|
Список | pgsql-hackers |
On Wed, Apr 26, 2023 at 03:44:47PM -0400, Andrew Dunstan wrote: > On 2023-04-26 We 09:27, Tom Lane wrote: > I doubt there's something like that. You can freeze arbitrary blocks of code > like this (from the manual) > > #<<< format skipping: do not let perltidy change my nice formatting > my @list = (1, > 1, 1, > 1, 2, 1, > 1, 3, 3, 1, > 1, 4, 6, 4, 1,); > #>>> > > > But that gets old and ugly pretty quickly. Can those comments be added by a preprocessor before calling perltidy, and then removed on completion? -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Embrace your flaws. They make you human, rather than perfect, which you will never be.
В списке pgsql-hackers по дате отправления: