| От | Thomas Kellerer |
|---|---|
| Тема | Re: Problem with aborting entire transactions on error |
| Дата | |
| Msg-id | ka511t$7bu$1@ger.gmane.org обсуждение исходный текст |
| Ответ на | Re: Problem with aborting entire transactions on error (Chris Angelico <rosuav@gmail.com>) |
| Ответы |
Re: Problem with aborting entire transactions on error
|
| Список | pgsql-general |
Chris Angelico, 10.12.2012 16:47: > The other part of the problem is that you're using transactions for > something other than transactional integrity. You're batching up > transactions in order to improve performance. That's certainly > possible, but you're using the database "oddly", so you can't expect > it to behave according to your modified set of rules. That's why the > transaction functions like a transaction, not like a commit-point. Just as a side-note: Oracle also allows you to commit a "transaction" even if some of the statements failed e.g. the commit of 20 inserts would only "commit" the ones that were successful. Regards Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера