Re: committing an aborted transaction

Поиск
Список
Период
Сортировка
От fschmidt
Тема Re: committing an aborted transaction
Дата
Msg-id 20520062.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: committing an aborted transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc

Tom Lane-2 wrote:
>
> This is a server-side behavior, not JDBC's fault.  It's been like that
> for ten years and is unlikely to be changed.  See prior discussions,
> for instance here:
>
> http://archives.postgresql.org/pgsql-bugs/2004-03/msg00179.php
> http://archives.postgresql.org/pgsql-hackers/2004-07/msg00416.php
> http://archives.postgresql.org/pgsql-hackers/2004-10/msg00908.php
>

So it seems, based on this last link, that commit now returns a "ROLLBACK"
in this case.  So then why doesn't JDBC throw an exception when a commit
returns "ROLLBACK"?

--
View this message in context: http://www.nabble.com/committing-an-aborted-transaction-tp20519423p20520062.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: committing an aborted transaction
Следующее
От: "Jay Howard"
Дата:
Сообщение: Re: passing user defined data types to stored procedures