Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
В списке pgsql-general по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера