Re: rollback ignored until end of transaction block

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: rollback ignored until end of transaction block
Дата
Msg-id 4383934B.6070700@opencloud.com
обсуждение исходный текст
Ответ на rollback ignored until end of transaction block  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: rollback ignored until end of transaction block  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kevin Grittner wrote:
> Is there any context where this would make sense?:
>
> org.postgresql.util.PSQLException: ERROR: current transaction is
> aborted, commands ignored until end of transaction block
>     at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
>     at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
>     at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
>     at
> org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:617)
>     at
> org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:654)

Huh, that *is* weird. rollback() should do nothing but execute ROLLBACK,
which shouldn't trigger that error.. How did you get it into that state?
Can you run with loglevel=2 and see what the trace says? What driver
version?

-O

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: rollback ignored until end of transaction block
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: rollback ignored until end of transaction block