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

Commit 2a754d7

Browse files
committed
Update pgtools README to be clearer about typdefs.
1 parent ab895f3 commit 2a754d7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/tools/pgindent/README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
22
files.
33

4-
To use it, first get the list of typedef's to be included in pgindent by
4+
1) Get the list of _current_ typedefs to be included in pgindent by
55
running this on the pgsql/bin and pgsql/lib directories:
66

77
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
88

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

12-
From the top directory, run:
12+
2) From the top directory, run:
1313

1414
find . -name '*.[ch]' -type f -print |
1515
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
1616
xargs -n100 pgindent
1717

18+
---------------------------------------------------------------------------
19+
1820
We have standardized on NetBSD's indent. We have fixed a few bugs which
1921
requre the NetBSD source to be patched with indent.bsd.patch patch. A
2022
fully patched version is available at ftp://ftp.postgresql.org/pub/dev.

0 commit comments

Comments
 (0)