Re: JDBC arrays

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: JDBC arrays
Дата
Msg-id 200203142144.g2ELiMb26642@candle.pha.pa.us
обсуждение исходный текст
Ответ на JDBC arrays  (Alexey Slynko <slynko@stack.net>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Domain Support -- another round
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: postgresql-7.2b3-betterquote.patch