Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f8aa02e

Browse files
committed
"time" is now a reserved keyword(changed to "mtime").
1 parent 97ab49b commit f8aa02e

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

contrib/pgbench/README.pgbench

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pgbench 1.3 README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
1+
pgbench README 2001/10/24 Tatsuo Ishii (t-ishii@sra.co.jp)
22

33
o What is pgbench?
44

@@ -153,6 +153,9 @@ Basically it is same as BSD license. See pgbench.c for more details.
153153

154154
o History
155155

156+
2001/10/24
157+
* "time"->"mtime"
158+
156159
2001/09/09
157160
* Add -U, -P, -C options
158161

@@ -164,4 +167,4 @@ o History
164167
* More robust when backends die
165168
* Add -S option (select only)
166169

167-
1999/09/04 pgbench-1.0 released
170+
1999/09/04 pgbench-1.0 released

contrib/pgbench/README.pgbench_jis

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pgbench 1.3 README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
1+
pgbench README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
22

33
$B"#(Bpgbench $B$H$O!)(B
44

@@ -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
169169

170170
$B"#2~DjMzNr(B
171171

172+
2001/10/24
173+
* PostgreSQL 7.2$B$G!$(B"time"$B$,M=Ls8l$K$J$C$?$N$G!$(B"mtime"$B$KJQ99(B
174+
$B$7$?!%(B
175+
172176
2001/09/09
173177
* PostgreSQL 7.2$BMQ$K!$(B-U, -P, -C $B%*%W%7%g%s$rDI2C$7$^$7$?!%(B
174178

contrib/pgbench/pgbench.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.10 2001/09/09 03:15:56 ishii Exp $
2+
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.11 2001/10/24 08:07:22 ishii Exp $
33
*
44
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -301,7 +301,7 @@ doOne(CState * state, int n, int debug)
301301
sprintf(sql, "update branches set bbalance = bbalance + %d where bid = %d", st->delta, st->bid);
302302
break;
303303
case 5:
304-
sprintf(sql, "insert into history(tid,bid,aid,delta,time) values(%d,%d,%d,%d,'now')",
304+
sprintf(sql, "insert into history(tid,bid,aid,delta,mtime) values(%d,%d,%d,%d,'now')",
305305
st->tid, st->bid, st->aid, st->delta);
306306
break;
307307
case 6:
@@ -444,7 +444,7 @@ init()
444444
"drop table accounts",
445445
"create table accounts(aid int,primary key(aid),bid int,abalance int,filler char(84))",
446446
"drop table history",
447-
"create table history(tid int,bid int,aid int,delta int,time timestamp,filler char(22))"};
447+
"create table history(tid int,bid int,aid int,delta int,mtime timestamp,filler char(22))"};
448448
char sql[256];
449449

450450
int i;

0 commit comments

Comments
 (0)