1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

patch from Alexey Slynko

This patch solve problems with arrays in latest development JDBC driver
This commit is contained in:
Dave Cramer 2002-03-15 04:11:49 +00:00
parent 31effd10fe
commit a2b5512929

View File

@ -767,6 +767,8 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
case Types.BINARY: case Types.BINARY:
case Types.VARBINARY: case Types.VARBINARY:
return getBytes(columnIndex); return getBytes(columnIndex);
case Types.ARRAY:
return getArray(columnIndex);
default: default:
String type = field.getPGType(); String type = field.getPGType();
// if the backend doesn't know the type then coerce to String // if the backend doesn't know the type then coerce to String