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
cdc84adb
Commit
cdc84adb
authored
Oct 07, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent comment pushed to new line by else so it is indented by BSD
indent.
parent
914ff1ea
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
329 additions
and
389 deletions
+329
-389
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+326
-385
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent
+3
-4
No files found.
src/backend/commands/vacuum.c
View file @
cdc84adb
This diff is collapsed.
Click to expand it.
src/tools/pgindent/pgindent
View file @
cdc84adb
...
...
@@ -38,10 +38,9 @@ do
# mark some comments for special treatment later
sed
's;/\* *---;/*---X_X;g'
|
# workaround for indent bug with 'else' handling
sed
's;\([ ]*\)else[ ]*\(/\*.*\)$;\1else\
\1\2;g'
|
sed
's;\([ ]*\)\(}[ ]\)else[ ]*\(/\*.*\)$;\1\2else\
\1\3;g'
|
# indent comment so BSD indent will move it
sed
's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
\2;g'
|
detab
-t4
-qc
|
# work around bug where function that defines no local variables misindents
# switch() case lines and line after #else. Do not do for struct/enum.
...
...
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