Add --check option to pgindent

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Add --check option to pgindent
Дата
Msg-id CXLX2XYTH9S6.140SC6Y61VD88@neon.tech
обсуждение исходный текст
Ответы Re: Add --check option to pgindent  (Daniel Gustafsson <daniel@yesql.se>)
Re: Add --check option to pgindent  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Not sold on the name, but --check is a combination of --silent-diff and
--show-diff. I envision --check mostly being used in CI environments.
I recently came across a situation where this behavior would have been
useful. Without --check, you're left to capture the output of
--show-diff and exit 2 if the output isn't empty by yourself.

--
Tristan Partin
Neon (https://neon.tech)

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Sabino Mullane
Дата:
Сообщение: Adding comments to help understand psql hidden queries
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Add --check option to pgindent