Re: Fwd: exception in plsql

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Fwd: exception in plsql
Дата
Msg-id 4B824FB4020000250002F46B@gw.wicourts.gov
обсуждение исходный текст
Ответ на Fwd: exception in plsql  (Ravi <nm.ravi2005@gmail.com>)
Список pgsql-bugs
Ravi <nm.ravi2005@gmail.com> wrote:

> when I tried to use the toArray method to extract exception raised
> saying
>
> org.postgresql.util.PSQLException: Cannot cast an instance of
> [Ljava.lang.Object; to type Types.ARRAY

OK, that looks like an array, so I'm now a bit lost.

Could you put together a self-contained example of how to create the
problem?  (Self-contained meaning that I can take what you provide
and run it, without writing any Java or plpgsql code or inventing
table or type definitions -- which might or might not match what you
did well enough to show the problem.)  It's most helpful if you keep
removing things until you have the *smallest* example which still
shows the problem.

-Kevin

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tim Bunce
Дата:
Сообщение: Re: BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4
Следующее
От: "Toni Helenius"
Дата:
Сообщение: BUG #5338: PG_DUMP fails due to invalid adnum value