Обсуждение: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes

Поиск
Список
Период
Сортировка

NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes

От
"Paul Meigniez"
Дата:
Hello,

We use PostgreSQL version 7.2 in our application. In this context, I
discovered the following problem: when you try to get the index info of a
database, a NullPointerException occurs if there is an unique index defined
in a table.
I attached a test program demonstrated the problem. You will find in a
commentar in the beginning of the file, the SQL instructions used to create
the database and the test table.

Thank you for your attention.
Best regards.

Paul Meigniez
UBIK S.A.
Av. Cortot, 7D, 1260 NYON,
Switzerland
Tel: +41 22 362 04 60
Fax: +41 22 362 04 61
mailto:paul.meigniez@ubik.ch
http://www.ubik.ch

Вложения

Re: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes

От
Barry Lind
Дата:
Paul,

This appears to already be fixed.  I can reproduce this with 7.2 code,
but not with current 7.3development code.

--Barry

Paul Meigniez wrote:
> Hello,
>
> We use PostgreSQL version 7.2 in our application. In this context, I
> discovered the following problem: when you try to get the index info of a
> database, a NullPointerException occurs if there is an unique index defined
> in a table.
> I attached a test program demonstrated the problem. You will find in a
> commentar in the beginning of the file, the SQL instructions used to create
> the database and the test table.
>
> Thank you for your attention.
> Best regards.
>
> Paul Meigniez
> UBIK S.A.
> Av. Cortot, 7D, 1260 NYON,
> Switzerland
> Tel: +41 22 362 04 60
> Fax: +41 22 362 04 61
> mailto:paul.meigniez@ubik.ch
> http://www.ubik.ch
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)