diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-10-09 16:48:19 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-10-09 16:48:19 +0000 |
commit | a4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15 (patch) | |
tree | 8cbafa34e4105e182bc203530d29c965af327ce0 /src/interfaces/jdbc/org/postgresql/Field.java | |
parent | c4ccc6146bfe2d20140da2e388e0d62b41c96f9b (diff) | |
download | postgresql-a4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15.tar.gz |
Back out Gunnar R|nning jdbc changes.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/Field.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/Field.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/Field.java b/src/interfaces/jdbc/org/postgresql/Field.java index 6e3edab1be..b73c224e51 100644 --- a/src/interfaces/jdbc/org/postgresql/Field.java +++ b/src/interfaces/jdbc/org/postgresql/Field.java @@ -76,9 +76,7 @@ public class Field // it's not in the cache, so perform a query, and add the result to // the cache if(type_name==null) { - ResultSet result = (org.postgresql.ResultSet) - conn.ExecSQL(null, "select typname from pg_type where oid = " - + oid); + ResultSet result = (org.postgresql.ResultSet)conn.ExecSQL("select typname from pg_type where oid = " + oid); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new PSQLException("postgresql.unexpected"); result.next(); |