aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/example/threadsafe.java
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>2000-10-12 08:55:28 +0000
committerPeter Mount <peter@retep.org.uk>2000-10-12 08:55:28 +0000
commitf41dcbe4d810f0906f43d1b345cf506d72c792ac (patch)
tree797e86d7fb86667e9b89595bb2f722b8018c39c6 /src/interfaces/jdbc/example/threadsafe.java
parentf20d2a87fb46284d9aca549321c407f00451f849 (diff)
downloadpostgresql-f41dcbe4d810f0906f43d1b345cf506d72c792ac.tar.gz
postgresql-f41dcbe4d810f0906f43d1b345cf506d72c792ac.zip
Major update part I involving delayed patches, reworked Makefile, and how
the versioning works. There's also a new utils directory used by Makefile
Diffstat (limited to 'src/interfaces/jdbc/example/threadsafe.java')
-rw-r--r--src/interfaces/jdbc/example/threadsafe.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/example/threadsafe.java b/src/interfaces/jdbc/example/threadsafe.java
index 7cb48c19612..ea69143d8d0 100644
--- a/src/interfaces/jdbc/example/threadsafe.java
+++ b/src/interfaces/jdbc/example/threadsafe.java
@@ -145,7 +145,7 @@ public class threadsafe
// manner. (DateStyles are PostgreSQL's way of handling different methods
// of representing dates in the Date data type.)
PreparedStatement ps = db.prepareStatement("insert into basic1 values (?,?)");
- for(int i=2;i<200;i++) {
+ for(int i=2;i<2000;i++) {
ps.setInt(1,4); // "column a" = 5
ps.setInt(2,i); // "column b" = i
ps.executeUpdate(); // executeUpdate because insert returns no data
@@ -212,7 +212,7 @@ public class threadsafe
// manner. (DateStyles are PostgreSQL's way of handling different methods
// of representing dates in the Date data type.)
PreparedStatement ps = db.prepareStatement("insert into basic2 values (?,?)");
- for(int i=2;i<200;i++) {
+ for(int i=2;i<2000;i++) {
ps.setInt(1,4); // "column a" = 5
ps.setInt(2,i); // "column b" = i
ps.executeUpdate(); // executeUpdate because insert returns no data