From 7f171b599a50d471d4791c768b538978b4a2dc95 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 12 Sep 2000 05:09:57 +0000 Subject: This patch implements the following command: ALTER TABLE OWNER TO Only a superuser may execute the command. -- Mark Hollomon mhh@mindspring.com --- src/interfaces/jdbc/org/postgresql/Connection.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/interfaces/jdbc/org/postgresql/Connection.java') diff --git a/src/interfaces/jdbc/org/postgresql/Connection.java b/src/interfaces/jdbc/org/postgresql/Connection.java index 33834118bda..fc908a43e9e 100644 --- a/src/interfaces/jdbc/org/postgresql/Connection.java +++ b/src/interfaces/jdbc/org/postgresql/Connection.java @@ -10,7 +10,7 @@ import org.postgresql.largeobject.*; import org.postgresql.util.*; /** - * $Id: Connection.java,v 1.5 2000/09/12 04:58:47 momjian Exp $ + * $Id: Connection.java,v 1.6 2000/09/12 05:09:54 momjian Exp $ * * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or * JDBC2 versions of the Connection class. @@ -112,12 +112,12 @@ public abstract class Connection throw new PSQLException("postgresql.con.pass"); this_driver = d; - this_url = new String(url); - PG_DATABASE = new String(database); - PG_PASSWORD = new String(info.getProperty("password")); - PG_USER = new String(info.getProperty("user")); + this_url = url; + PG_DATABASE = database; + PG_PASSWORD = info.getProperty("password"); + PG_USER = info.getProperty("user"); PG_PORT = port; - PG_HOST = new String(host); + PG_HOST = host; PG_STATUS = CONNECTION_BAD; encoding = info.getProperty("charSet"); // could be null -- cgit v1.2.3