Re: set-level update fails with unique constraint violation
В списке pgsql-general по дате отправления:
| От | Daniel Verite |
|---|---|
| Тема | Re: set-level update fails with unique constraint violation |
| Дата | |
| Msg-id | 14acc12c-3fde-46ce-9a56-7a4c3456fdc9@mm обсуждение |
| Ответ на | Re: set-level update fails with unique constraint violation (David Fetter <david@fetter.org>) |
| Ответы |
Re: set-level update fails with unique constraint violation
|
| Список | pgsql-general |
David Fetter wrote: > The DEFERRED uniqueness constraints in 8.5alpha3 fix this problem That fix has a drawback: when the unique constraint is violated, the rest of the transaction runs with data that is somehow corrupted, with duplicate values being visible. It may be uneasy to predict if and how the statements following the temporary-ignored constraint violation will misbehave. Generally, the transaction will ultimately fail and the mess will be cleaned up by the rollback, but in the worst case it may not even fail, for instance if the offending rows get deleted before the end. Best regards, -- Daniel PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера