Exclude files generated by generate-wait_event_types.pl from pgindent

The format of these files becomes arguably worse after being indented,
and, as they are generated, there is no point in applying an indentation
anyway.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACW2JUocmieuR3n9AXL4iSsHcL1LmNkiukuFRUvKNMoiKg@mail.gmail.com
pull/151/head
Michael Paquier 2 years ago
parent cb44a8345e
commit a99009a9a3
  1. 6
      src/tools/pgindent/exclude_file_patterns

@ -12,6 +12,12 @@ src/include/jit/llvmjit\.h$
src/backend/nodes/\w+\.funcs\.c$ src/backend/nodes/\w+\.funcs\.c$
src/backend/nodes/\w+\.switch\.c$ src/backend/nodes/\w+\.switch\.c$
# #
# These are generated by generate-wait_event_types.pl, whose format
# looks worse with pgindent.
src/backend/utils/activity/pgstat_wait_event\.c$
src/backend/utils/activity/wait_event_funcs_data\.c$
src/backend/utils/activity/wait_event_types\.h$
#
# This confuses pgindent, and it's a derived file anyway. # This confuses pgindent, and it's a derived file anyway.
src/backend/utils/fmgrtab\.c$ src/backend/utils/fmgrtab\.c$
# #

Loading…
Cancel
Save