Re: [RESEND] Transaction auto-abort causes grief with Spring Framework

Поиск
Список
Период
Сортировка
От Webb Sprague
Тема Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
Дата
Msg-id b11ea23c0708170146t22d8fa45ye9d382d539b615b9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [RESEND] Transaction auto-abort causes grief with Spring Framework  (Tyson Lloyd Thwaites <tyson.lloydthwaites@allianza.com.au>)
Ответы Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
Список pgsql-general
> Pgs... like a warning that you can't do this;
>
> begin
> insert 1 --works
> insert 2 --fails
> commit
>
> row 1 will exist in db (yes, no kidding). This will not work in pg,
> which I now see is obviously correct.

This should either a FAQ for MS-SQL or Spring, but since PG does it
canonically it doesn't actually get asked very frequently ...

Sounds like a nightmare specifically designed for vendor lock-in.  My
condolences.

I am not sure how you can insert into a log even with savepoints,
unless you put the logging statement first and then follow it with the
insert.

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

Предыдущее
От: Tyson Lloyd Thwaites
Дата:
Сообщение: Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
Следующее
От: Hannes Dorbath
Дата:
Сообщение: CREATE RULE.. RETURNING?