Re: Atomicity of UPDATE, interchanging values in unique column
В списке pgsql-sql по дате отправления:
| От | daniel alvarez |
|---|---|
| Тема | Re: Atomicity of UPDATE, interchanging values in unique column |
| Дата | |
| Msg-id | 21780.1047160126@www48.gmx.net обсуждение |
| Ответ на | Re: Atomicity of UPDATE, interchanging values in unique column (Rod Taylor <rbt@rbt.ca>) |
| Ответы |
Re: Atomicity of UPDATE, interchanging values in unique
|
| Список | pgsql-sql |
> The first is what you want. PostgreSQL needs some work in the > evaluation of unique indexes to properly support it. > > Namely, when it sees a conflict when inserting into the index, it needs > to record the fact, and revisit the conflict at the end of the command. > Lots of work... OK. The long-term goal would then be to get rid of such oddities. But what can I do right now as a user to solve that issue for my application? There must be a better solution than the additional dummy update. Any ideas? Daniel Alvarez Arribas <d-alvarez@gmx.de> -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера