Skip to content

Commit 6c4b3f5

Browse files
committed
Update pgindent instructions.
1 parent 78f3c39 commit 6c4b3f5

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

src/tools/pgindent/README

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.30 2009/06/10 01:47:59 momjian Exp $
1+
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.31 2009/06/10 01:51:44 momjian Exp $
22

33
pgindent
44
========
@@ -8,31 +8,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
88

99
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
1010

11-
---------------------------------------------------------------------------
12-
13-
Obsolete typedef list creation instructions:
14-
--------------------------------------------
15-
16-
To use pgindent:
17-
18-
1) Build the source tree with _debug_ symbols and all possible configure options
19-
20-
2) Install to /usr/local/pgsql
21-
22-
3) Install all contrib modules
23-
24-
4) Save a list of typedefs by running:
25-
26-
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
27-
28-
5) Run 'gmake distclean' from the top of the source tree to remove any
11+
1) Run 'gmake distclean' from the top of the source tree to remove any
2912
derived C files.
3013

31-
6) From the top of the source tree, run:
14+
2) From the top of the source tree, run:
3215

3316
find . -name '*.[ch]' -type f -print |
3417
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
35-
xargs -n100 pgindent /tmp/pgtypedefs
18+
xargs -n100 pgindent /tmp/typedefs.pl
19+
3620

3721
---------------------------------------------------------------------------
3822

@@ -57,3 +41,21 @@ regression tests.
5741
src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
5842
are excluded because those files are imported from an external project,
5943
not maintained locally, and are machine-generated anyway.
44+
45+
---------------------------------------------------------------------------
46+
47+
Obsolete typedef list creation instructions:
48+
--------------------------------------------
49+
50+
To use pgindent:
51+
52+
1) Build the source tree with _debug_ symbols and all possible configure options
53+
54+
2) Install to /usr/local/pgsql
55+
56+
3) Install all contrib modules
57+
58+
4) Save a list of typedefs by running:
59+
60+
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
61+

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