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
f8aa02eb
Commit
f8aa02eb
authored
Oct 24, 2001
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"time" is now a reserved keyword(changed to "mtime").
parent
97ab49be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
contrib/pgbench/README.pgbench
contrib/pgbench/README.pgbench
+5
-2
contrib/pgbench/README.pgbench_jis
contrib/pgbench/README.pgbench_jis
+5
-1
contrib/pgbench/pgbench.c
contrib/pgbench/pgbench.c
+3
-3
No files found.
contrib/pgbench/README.pgbench
View file @
f8aa02eb
pgbench
1.3 README 2001/09/09
Tatsuo Ishii (t-ishii@sra.co.jp)
pgbench
README 2001/10/24
Tatsuo Ishii (t-ishii@sra.co.jp)
o What is pgbench?
...
...
@@ -153,6 +153,9 @@ Basically it is same as BSD license. See pgbench.c for more details.
o History
2001/10/24
* "time"->"mtime"
2001/09/09
* Add -U, -P, -C options
...
...
@@ -164,4 +167,4 @@ o History
* More robust when backends die
* Add -S option (select only)
1999/09/04 pgbench-1.0 released
\ No newline at end of file
1999/09/04 pgbench-1.0 released
contrib/pgbench/README.pgbench_jis
View file @
f8aa02eb
pgbench
1.3
README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
pgbench README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
$B"#(Bpgbench $B$H$O!)(B
...
...
@@ -169,6 +169,10 @@ pgbench $B$O@P0f(B $BC#IW$K$h$C$F=q$+$l$^$7$?!%%i%$%;%s%9>r7o$O(B pgbench.c
$B"#2~DjMzNr(B
2001/10/24
* PostgreSQL 7.2$B$G!$(B"time"$B$,M=Ls8l$K$J$C$?$N$G!$(B"mtime"$B$KJQ99(B
$B$7$?!%(B
2001/09/09
* PostgreSQL 7.2$BMQ$K!$(B-U, -P, -C $B%*%W%7%g%s$rDI2C$7$^$7$?!%(B
...
...
contrib/pgbench/pgbench.c
View file @
f8aa02eb
/*
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1
0 2001/09/09 03:15:56
ishii Exp $
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1
1 2001/10/24 08:07:22
ishii Exp $
*
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
* written by Tatsuo Ishii
...
...
@@ -301,7 +301,7 @@ doOne(CState * state, int n, int debug)
sprintf
(
sql
,
"update branches set bbalance = bbalance + %d where bid = %d"
,
st
->
delta
,
st
->
bid
);
break
;
case
5
:
sprintf
(
sql
,
"insert into history(tid,bid,aid,delta,time) values(%d,%d,%d,%d,'now')"
,
sprintf
(
sql
,
"insert into history(tid,bid,aid,delta,
m
time) values(%d,%d,%d,%d,'now')"
,
st
->
tid
,
st
->
bid
,
st
->
aid
,
st
->
delta
);
break
;
case
6
:
...
...
@@ -444,7 +444,7 @@ init()
"drop table accounts"
,
"create table accounts(aid int,primary key(aid),bid int,abalance int,filler char(84))"
,
"drop table history"
,
"create table history(tid int,bid int,aid int,delta int,time timestamp,filler char(22))"
};
"create table history(tid int,bid int,aid int,delta int,
m
time timestamp,filler char(22))"
};
char
sql
[
256
];
int
i
;
...
...
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