Re: Is that normal I can't commit a transaction when using

Поиск
Список
Период
Сортировка
От David Gagnon
Тема Re: Is that normal I can't commit a transaction when using
Дата
Msg-id 42407F77.70209@siunik.com
обсуждение исходный текст
Ответ на Re: Is that normal I can't commit a transaction when using refcursor in a stored procedure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
Yes and I am running 7.4.5 so I will update for the fix.

Thanks!
/David
Tom Lane wrote:

>David Gagnon <dgagnon@siunik.com> writes:
>
>
>>CREATE TEMP TABLE T_AUX (
>>...
>>) ON COMMIT DROP'';
>>
>>
>
>
>
>>WARN [http8080-Processor4] (DbConnection.java:218) 2005-03-22
>>13:51:55,359 : DB: Error commiting Transaction: ERROR: relation 6013057
>>is still open
>>
>>
>
>Is this temp table used in your cursor?  If so this is a recently-fixed
>server bug ("recent" = 7.4.7 and later, I think).  It was trying to drop
>ON COMMIT DROP tables before closing cursors...
>
>            regards, tom lane
>
>
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is that normal I can't commit a transaction when using refcursor in a stored procedure
Следующее
От: Prasanth
Дата:
Сообщение: moveToCurrentRow causes ArrayIndexOutOfBoundsException