Skip to content

Commit a99009a

Browse files
committed
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
1 parent cb44a83 commit a99009a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tools/pgindent/exclude_file_patterns

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ src/include/jit/llvmjit\.h$
1212
src/backend/nodes/\w+\.funcs\.c$
1313
src/backend/nodes/\w+\.switch\.c$
1414
#
15+
# These are generated by generate-wait_event_types.pl, whose format
16+
# looks worse with pgindent.
17+
src/backend/utils/activity/pgstat_wait_event\.c$
18+
src/backend/utils/activity/wait_event_funcs_data\.c$
19+
src/backend/utils/activity/wait_event_types\.h$
20+
#
1521
# This confuses pgindent, and it's a derived file anyway.
1622
src/backend/utils/fmgrtab\.c$
1723
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy