JDBC arrays

From: Alexey Slynko <slynko(at)stack(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: JDBC arrays
Date: 2002-03-12 12:18:35
Message-ID: 20020312151321.J85024-100000@elizabet.stack.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This patch solve problems with arrays in latest development JDBC driver

*** src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java.orig Tue Mar 12 14:49:59 2002
--- src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java Tue Mar 12 14:50:22 2002
***************
*** 767,772 ****
--- 767,774 ----
case Types.BINARY:
case Types.VARBINARY:
return getBytes(columnIndex);
+ case Types.ARRAY:
+ return getArray(columnIndex);
default:
String type = field.getPGType();
// if the backend doesn't know the type then coerce to String

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Ross J. Reedstrom 2002-03-12 18:21:04 Re: psql: backslash fix
Previous Message Yury Bokhoncovich 2002-03-12 06:08:14 Re: ALTER TABLE OWNER: change indexes