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
aac96b89
Commit
aac96b89
authored
Nov 23, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pgindent of libpq-fe.h by hacking pgindent script.
Remove pgbench comment that was causing problems.
parent
ce1d8293
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
contrib/pgbench/pgbench.c
contrib/pgbench/pgbench.c
+2
-3
src/interfaces/libpq/libpq-fe.h
src/interfaces/libpq/libpq-fe.h
+2
-2
src/tools/pgindent/pgindent
src/tools/pgindent/pgindent
+8
-0
No files found.
contrib/pgbench/pgbench.c
View file @
aac96b89
/*
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.4
6 2005/11/22 18:17:04
momjian Exp $
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.4
7 2005/11/23 04:23:28
momjian Exp $
*
* pgbench: a simple benchmark program for PostgreSQL
* written by Tatsuo Ishii
...
...
@@ -1110,8 +1110,7 @@ main(int argc, char **argv)
fprintf
(
stderr
,
"Use limit/ulimt to increase the limit before using pgbench.
\n
"
);
exit
(
1
);
}
#endif
/* #if !(defined(__CYGWIN__) ||
* defined(__MINGW32__)) */
#endif
break
;
case
'C'
:
is_connect
=
1
;
...
...
src/interfaces/libpq/libpq-fe.h
View file @
aac96b89
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.12
1 2005/11/22 18:17:33
momjian Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.12
2 2005/11/23 04:23:28
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -35,7 +35,7 @@ extern "C"
/* Application-visible enum types */
typedef
enum
typedef
enum
{
/*
* Although it is okay to add to this list, values which become unused
...
...
src/tools/pgindent/pgindent
View file @
aac96b89
...
...
@@ -1993,6 +1993,14 @@ do
}
else print $0;
}'
|
# fix indenting of typedef caused by __cplusplus in libpq-fe.h
(
if
echo
"
$FILE
"
|
grep
-q
'libpq-fe.h$'
then
sed
's/^[ ]*typedef enum/typedef enum/'
else
cat
fi
)
|
# end
cat
>
/tmp/
$$
&&
cat
/tmp/
$$
>
"
$FILE
"
done
...
...
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