Re: JDBC arrays

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-14 21:44:22
Message-ID: 200203142144.g2ELiMb26642@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

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

In response to

  • JDBC arrays at 2002-03-12 12:18:35 from Alexey Slynko

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-03-14 22:32:51 Re: postgresql-7.2b3-betterquote.patch
Previous Message Bruce Momjian 2002-03-14 21:21:03 Re: Domain Support -- another round