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
ffba91cd
Commit
ffba91cd
authored
Nov 03, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pgindent use GNU Indent version 2.X better.
parent
355cc69d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent
+5
-5
No files found.
src/tools/pgindent/pgindent
View file @
ffba91cd
...
...
@@ -14,18 +14,18 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
echo
"Then run
$0
again."
exit
1
fi
indent
-
-
version
</dev/null
>
/dev/null 2>&1
indent
-version
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-eq
0
]
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
exit
1
fi
indent
-
version
-npro
</dev/null
>
/dev/null 2>&1
indent
-
gnu
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-eq
0
]
then
echo
"You appear to have GNU indent rather than BSD indent."
>
&2
echo
"See the pgindent/README file for a description of its problems."
>
&2
EXTRA_OPTS
=
"-
ncdb -bli0 -npcs -cli4
"
EXTRA_OPTS
=
"-
cdb -bli0 -npcs -cli4 -sc
"
else
echo
"Hope you installed /src/tools/pgindent/indent.bsd.patch."
>
&2
EXTRA_OPTS
=
"-
bbb -
cli1"
EXTRA_OPTS
=
"-cli1"
fi
for
FILE
...
...
@@ -67,7 +67,7 @@ do
# We get the list of typedef's from /src/tools/find_typedef
indent
-bad
-bap
-bc
-bl
-d0
-cdb
-nce
-nfc1
-di12
-i4
-l75
\
-lp
-nip
-npro
$EXTRA_OPTS
\
-lp
-nip
-npro
-bbb
$EXTRA_OPTS
\
-TA_Const
\
-TA_Expr
\
-TA_Indices
\
...
...
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