aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-08-07 17:45:29 +0000
committerBruce Momjian <bruce@momjian.us>2001-08-07 17:45:29 +0000
commitfb5b85a8f2663883f1e3287680dbe0db54e1b617 (patch)
tree7ab0064ea27319b41796d13696a716446639895a
parent1b2d57dc83dadd2e2bb783337075d5172f6296c4 (diff)
downloadpostgresql-fb5b85a8f2663883f1e3287680dbe0db54e1b617.tar.gz
postgresql-fb5b85a8f2663883f1e3287680dbe0db54e1b617.zip
I think you replaced too many things with put(...
Here is a context diff from latest cvs And I see why you couldn't apply the last diff, the setCatalog diff has been backed out, that was causing the compile problem in the first place. This following one needs to be applied to allow the current cvs to compile Dave Cramer
-rw-r--r--src/interfaces/jdbc/org/postgresql/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/Connection.java b/src/interfaces/jdbc/org/postgresql/Connection.java
index 326d660eb2a..4585ab4a51e 100644
--- a/src/interfaces/jdbc/org/postgresql/Connection.java
+++ b/src/interfaces/jdbc/org/postgresql/Connection.java
@@ -11,7 +11,7 @@ import org.postgresql.util.*;
import org.postgresql.core.Encoding;
/**
- * $Id: Connection.java,v 1.23 2001/08/04 19:46:56 momjian Exp $
+ * $Id: Connection.java,v 1.24 2001/08/07 17:45:29 momjian Exp $
*
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
* JDBC2 versions of the Connection class.
@@ -120,8 +120,8 @@ public abstract class Connection
this_driver = d;
this_url = url;
PG_DATABASE = database;
- PG_PASSWORD = info.put("password");
- PG_USER = info.put("user");
+ PG_PASSWORD = info.getProperty("password");
+ PG_USER = info.getProperty("user");
PG_PORT = port;
PG_HOST = host;
PG_STATUS = CONNECTION_BAD;