]> granicus.if.org Git - postgresql/commitdiff
"time" is now a reserved keyword(changed to "mtime").
authorTatsuo Ishii <ishii@postgresql.org>
Wed, 24 Oct 2001 08:07:22 +0000 (08:07 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Wed, 24 Oct 2001 08:07:22 +0000 (08:07 +0000)
contrib/pgbench/README.pgbench
contrib/pgbench/README.pgbench_jis
contrib/pgbench/pgbench.c

index de51b2c7bc27235408aa75eb23a7465d02449b12..d052411ab2c5062a8dee51d6a0930592aa8ecff0 100644 (file)
@@ -1,4 +1,4 @@
-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
index 04a5900c65c3d9122c52bb633e8c0963b8084c6f..b87d3e60df1f4b0c94250fce01408cd5f9f19c89 100644 (file)
@@ -1,4 +1,4 @@
-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)
 
 \e$B"#\e(Bpgbench \e$B$H$O!)\e(B
 
@@ -169,6 +169,10 @@ pgbench \e$B$O@P0f\e(B \e$BC#IW$K$h$C$F=q$+$l$^$7$?!%%i%$%;%s%9>r7o$O\e(B pgbench.c
 
 \e$B"#2~DjMzNr\e(B
 
+2001/10/24
+       * PostgreSQL 7.2\e$B$G!$\e(B"time"\e$B$,M=Ls8l$K$J$C$?$N$G!$\e(B"mtime"\e$B$KJQ99\e(B
+       \e$B$7$?!%\e(B
+
 2001/09/09
        * PostgreSQL 7.2\e$BMQ$K!$\e(B-U, -P, -C \e$B%*%W%7%g%s$rDI2C$7$^$7$?!%\e(B
 
index 6cb15bd2cab8ec72efcab099a6de498138f0c902..5fc18fe6889f59074b974442e038d6018dba40f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.10 2001/09/09 03:15:56 ishii Exp $
+ * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.11 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,mtime) 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,mtime timestamp,filler char(22))"};
        char            sql[256];
 
        int                     i;