Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6c4b3f5f
Commit
6c4b3f5f
authored
Jun 10, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pgindent instructions.
parent
78f3c390
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
+23
-21
src/tools/pgindent/README
src/tools/pgindent/README
+23
-21
No files found.
src/tools/pgindent/README
View file @
6c4b3f5f
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.3
0 2009/06/10 01:47:59
momjian Exp $
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.3
1 2009/06/10 01:51:44
momjian Exp $
pgindent
========
...
...
@@ -8,31 +8,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
---------------------------------------------------------------------------
Obsolete typedef list creation instructions:
--------------------------------------------
To use pgindent:
1) Build the source tree with _debug_ symbols and all possible configure options
2) Install to /usr/local/pgsql
3) Install all contrib modules
4) Save a list of typedefs by running:
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
5) Run 'gmake distclean' from the top of the source tree to remove any
1) Run 'gmake distclean' from the top of the source tree to remove any
derived C files.
6
) From the top of the source tree, run:
2
) From the top of the source tree, run:
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
xargs -n100 pgindent /tmp/pgtypedefs
xargs -n100 pgindent /tmp/typedefs.pl
---------------------------------------------------------------------------
...
...
@@ -57,3 +41,21 @@ regression tests.
src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
are excluded because those files are imported from an external project,
not maintained locally, and are machine-generated anyway.
---------------------------------------------------------------------------
Obsolete typedef list creation instructions:
--------------------------------------------
To use pgindent:
1) Build the source tree with _debug_ symbols and all possible configure options
2) Install to /usr/local/pgsql
3) Install all contrib modules
4) Save a list of typedefs by running:
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment