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
b4ca39b9
Commit
b4ca39b9
authored
Sep 28, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow pgindent to work with newer BSD indents.
parent
44f8c5c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/tools/pgindent/README
src/tools/pgindent/README
+1
-1
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent
+1
-1
No files found.
src/tools/pgindent/README
View file @
b4ca39b9
...
@@ -23,7 +23,7 @@ for the second bug in:
...
@@ -23,7 +23,7 @@ for the second bug in:
/src/tools/pgindent/indent.bsd.patch
/src/tools/pgindent/indent.bsd.patch
Even with the workaround, installation of the patch produces better
Even with the workaround, installation of the patch produces better
output.
output.
You can get a patched BSD indent from ftp://ftp.postgresql.org/pub/dev.
GNU indent, version 2.2.6, has several problems, and is not recommended.
GNU indent, version 2.2.6, has several problems, and is not recommended.
These bugs become pretty major when you are doing >400k lines of code.
These bugs become pretty major when you are doing >400k lines of code.
...
...
src/tools/pgindent/pgindent
View file @
b4ca39b9
...
@@ -14,7 +14,7 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
...
@@ -14,7 +14,7 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
echo
"Then run
$0
again."
echo
"Then run
$0
again."
exit
1
exit
1
fi
fi
indent
-
version
</dev/null
>
/dev/null 2>&1
indent -
?
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-ne
1
]
if
[
"
$?
"
-ne
1
]
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
exit
1
exit
1
...
...
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