From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alexey Slynko <slynko(at)stack(dot)net> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: JDBC arrays |
Date: | 2002-03-15 05:32:23 |
Message-ID: | 200203150532.g2F5WNe16938@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
Alexey Slynko wrote:
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2002-03-15 12:20:38 | Re: pg_depend patch |
Previous Message | Peter Eisentraut | 2002-03-15 03:30:05 | Re: pg_depend patch |