Re: JDBC arrays - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: JDBC arrays
Date
Msg-id 200203142144.g2ELiMb26642@candle.pha.pa.us
Whole thread Raw
In response to JDBC arrays  (Alexey Slynko <slynko@stack.net>)
List 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@postgresql.org so that your
> message can get through to the mailing list cleanly
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Domain Support -- another round
Next
From: Bruce Momjian
Date:
Subject: Re: postgresql-7.2b3-betterquote.patch