| От | Cristi Petrescu-Prahova |
|---|---|
| Тема | how to continue a transaction after an error? |
| Дата | |
| Msg-id | 002e01c04da9$a8f95c20$25efe6c1@lasting.ro обсуждение исходный текст |
| Ответы |
Re: how to continue a transaction after an error?
Re: how to continue a transaction after an error? RE: how to continue a transaction after an error? |
| Список | pgsql-sql |
Hello, I would like to insert a bunch of rows in a table in a transaction. Some of the insertions will fail due to constraints violation. When this happens, Postgres automatically ends the transaction and rolls back all the previous inserts. I would like to continue the transaction and issue the commit/rollback command myself. How to do it? Is there any setting I am missing? Is it possible at all? Thanks, Cristi
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера