BUG #17017: Two versions of the same row of records are returned in one query
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #17017: Two versions of the same row of records are returned in one query |
| Дата | |
| Msg-id | 17017-c37dbbadb77cfde9@postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #17017: Two versions of the same row of records are returned in one query
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 17017 Logged by: 刘沛源 Email address: lpy.henu@gmail.com PostgreSQL version: 9.6.21 Operating system: CentOS Linux release 7.4.1708 (Core) Description: Schema and Initial data: Create Table t(a int primary key, b int); Insert into t values(1,2); Insert into t values(2,3); Operation: There are two sessions executing at the same time. [Time0, SessonA] > Begin; > set transaction isolation level repeatable read; > Select * from t where a=1; [Time1, SessonB] > Begin; > set transaction isolation level read committed; > Delete from t where a=2; > Commit; [Time2, SessonA] > Insert into t values(2,4); > Select * from t where a=2; Here, we expect PostgreSQL Server to return a row: 2 3 However, it returns two rows: 2 4 2 3
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера