Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7fda55

Browse files
committed
Update pgindent readme.
1 parentb830e93 commitc7fda55

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎src/tools/pgindent/README

Lines changed: 7 additions & 5 deletions
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 *.lfiles.
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)

[8]ページ先頭

©2009-2025 Movatter.jp