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
2a754d70
Commit
2a754d70
authored
Nov 15, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pgtools README to be clearer about typdefs.
parent
ab895f3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/tools/pgindent/README
src/tools/pgindent/README
+6
-4
No files found.
src/tools/pgindent/README
View file @
2a754d70
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.l
files.
files.
To use it, first get the list of typedef'
s to be included in pgindent by
1) Get the list of _current_ typedef
s to be included in pgindent by
running this on the pgsql/bin and pgsql/lib directories:
running this on the pgsql/bin and pgsql/lib directories:
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
and update the list in pgindent. This requires the binaries have
debug
and update the list in pgindent. This requires the binaries have
symbols.
_debug_
symbols.
From the top directory, run:
2)
From the top directory, 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
xargs -n100 pgindent
---------------------------------------------------------------------------
We have standardized on NetBSD's indent. We have fixed a few bugs which
We have standardized on NetBSD's indent. We have fixed a few bugs which
requre the NetBSD source to be patched with indent.bsd.patch patch. A
requre the NetBSD source to be patched with indent.bsd.patch patch. A
fully patched version is available at ftp://ftp.postgresql.org/pub/dev.
fully patched version is available at ftp://ftp.postgresql.org/pub/dev.
...
...
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