Re: BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE constraint in concurrent SERIALIZABLE transactions
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE constraint in concurrent SERIALIZABLE transactions |
| Дата | |
| Msg-id | 14879.1392954389@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE constraint in concurrent SERIALIZABLE transactions (mscott@apple.com) |
| Ответы |
Re: BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE
constraint in concurrent SERIALIZABLE transactions
Re: BUG #9301: INSERT WHERE NOT EXISTS on table with UNIQUE constraint in concurrent SERIALIZABLE transactions |
| Список | pgsql-bugs |
mscott@apple.com writes:
> -- The following seems to violate the fundamental guarantee of ISOLATION
> LEVEL SERIALIZABLE in that the two
> -- transactions below do not behave the same as if they were run serially.
I must be missing something ... what about the duplicate-key error is not
what you would expect if the two transactions had been run serially?
BTW, the fundamental guarantee is not what you said above. It is that
you will *either* get the same results as if the transactions had been
run in some unspecified serial order, *or* you will get a serialization
error. There is certainly no guarantee about which of these cases
ensues.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера