Add --check option to pgindent - Mailing list pgsql-hackers

From Tristan Partin
Subject Add --check option to pgindent
Date
Msg-id CXLX2XYTH9S6.140SC6Y61VD88@neon.tech
Whole thread Raw
Responses Re: Add --check option to pgindent
Re: Add --check option to pgindent
List 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)

Attachment

pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Adding comments to help understand psql hidden queries
Next
From: Daniel Gustafsson
Date:
Subject: Re: Add --check option to pgindent