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
2594ad74
Commit
2594ad74
authored
Sep 25, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In pgrminclude, document requirement to use pgcompinclude, and sort
files so include removal is more predictable.
parent
23fe7a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/tools/pginclude/pgrminclude
src/tools/pginclude/pgrminclude
+7
-2
No files found.
src/tools/pginclude/pgrminclude
View file @
2594ad74
:
# remove extra #include's
# pgcompinclude must be run before and after pgrminclude. It must be
# run before because we don't want include dependencies to leak into
# the C program files, and after because removal of includes from headers
# can cause new include unfulfilled dependencies.
#
# Limitations: 2011-09-24
#
# Pgrminclude, when processing header files, can cause includes to be
...
...
@@ -115,8 +120,8 @@ compile_file() {
# Process include files first because they can affect the compilation
# of *.c files.
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print;
find . \( -name .git -a -prune \) -o -type f -name '*.c' -print ) |
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print
| sort
;
find . \( -name .git -a -prune \) -o -type f -name '*.c' -print
| sort
) |
grep -v '/postgres.h$' |
grep -v '/postgres_fe.h$' |
grep -v '/pg_config.h$' |
...
...
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