summaryrefslogtreecommitdiff
path: root/src/tools/pgindent/README.pgpool
blob: a47c237e43d963dcab4962a58ff1093d67b88454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In addition to original PostgreSQL's files followings are added:

- exclude_files:	files that should not be touched by pgindent.
- run_pgindent:	handy script to run pgindent. Should be run at src directory.

The steps to run pgindent are as follows:

1. Add typedes/enums to typedefs.list.

2. Or, if you want to generate typedefs.list from scratch, run find_typedes:
   cd pgpool2
   src/tools/find_typedef src > src/tools/pgindent/typedefs.list

3. Run pgindent by using run_pgindent.
   cd pgpool2/src
   tools/pgindent/run_pgindent