aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2023-01-23 07:00:06 -0500
committerAndrew Dunstan <andrew@dunslane.net>2023-01-23 07:09:51 -0500
commitb90f0b57474eac3980be8146f2e45f73a05c994f (patch)
treefbe7a8d31f652de8c8e022ad3ce328a341396eda /src/backend/access/gist/gistproc.c
parent0aa38db56bf459d04ed58c22f7c689c0ae14e977 (diff)
downloadpostgresql-b90f0b57474eac3980be8146f2e45f73a05c994f.tar.gz
postgresql-b90f0b57474eac3980be8146f2e45f73a05c994f.zip
Add non-destructive modes to pgindent
This adds two modes of running pgindent, neither of which results in any changes being made to the source code. The --show-diff option shows what changes would have been made, and the --silent-diff option just exits with a status of 2 if any changes would be made. The second of these is intended for scripting use in places such as git hooks. Along the way some code cleanup is done, and a --help option is also added. Reviewed by Tom Lane Discussion: https://postgr.es/m/c9c9fa6d-6de6-48c2-4f8b-0fbeef026439@dunslane.net
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions