Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c7fda55

Browse files
committed
Update pgindent readme.
1 parent b830e93 commit c7fda55

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/tools/pgindent/README

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
This can format all PostgreSQL *.c and *.h files, excluding libpq++,
2-
*.y, and *.l files.
1+
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
2+
files.
33

4-
Get the list of typedef's included in pgindent by running this on the
4+
Get the list of typedef's included in pgindent by running this on the
55
pgsql/bin directory:
66

77
/src/tools/find_typedef
88

9-
and update the list in pgindent. This requires debug symbols.
9+
and update the list in pgindent. This requires the binaries have debug
10+
symbols.
1011

1112
From the top directory, run:
1213

1314
find . -name '*.[ch]' -type f -print | egrep -v '\+\+|s_lock.h' | xargs -n100 pgindent
1415

15-
The stock BSD indent has two bugs. First, a comment after the word 'else'
16+
The stock BSD indent has two bugs. First, a comment after the word 'else'
1617
causes the rest of the file to be ignored. Second, it silently ignores
1718
typedefs after getting the first 100.
1819

@@ -38,6 +39,7 @@ following options:
3839

3940
find . \( -name '*.java' -o -name '*.java.in' \) -print |
4041
xargs -n100 pgjindent
42+
4143
---------------------------------------------------------------------------
4244

4345
For cpp, we use astyle, http://astyle.sourceforge.net/, with the

0 commit comments

Comments
 (0)