Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
6c4b3f5f
Commit
6c4b3f5f
authored
15 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update pgindent instructions.
parent
78f3c390
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tools/pgindent/README
+23
-21
23 additions, 21 deletions
src/tools/pgindent/README
with
23 additions
and
21 deletions
src/tools/pgindent/README
+
23
−
21
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
pgindent
========
========
...
@@ -8,31 +8,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
...
@@ -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
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
---------------------------------------------------------------------------
1) Run 'gmake distclean' from the top of the source tree to remove any
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
derived C files.
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 |
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
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.
...
@@ -57,3 +41,21 @@ regression tests.
src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
are excluded because those files are imported from an external project,
are excluded because those files are imported from an external project,
not maintained locally, and are machine-generated anyway.
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment