Re: Ooops

Started by Bruce Momjianalmost 25 years ago1 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Patch applied. Thanks.

Bruce,

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

[root@ebox2 postgresql]# cvs diff -c Connection.java
Index: Connection.java
===================================================================
RCS file:
/home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Co
nnection.java,v
retrieving revision 1.23
diff -c -r1.23 Connection.java
*** Connection.java     2001/08/04 19:46:56     1.23
--- Connection.java     2001/08/07 17:38:13
***************
*** 120,127 ****
this_driver = d;
this_url = url;
PG_DATABASE = database;
!     PG_PASSWORD = info.put("password");
!     PG_USER = info.put("user");
PG_PORT = port;
PG_HOST = host;
PG_STATUS = CONNECTION_BAD;
--- 120,127 ----
this_driver = d;
this_url = url;
PG_DATABASE = database;
!     PG_PASSWORD = info.getProperty("password");
!     PG_USER = info.getProperty("user");
PG_PORT = port;
PG_HOST = host;
PG_STATUS = CONNECTION_BAD;

Dave

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026