| От | Tom Lane |
|---|---|
| Тема | Re: Tuples inserted and deleted by the same transaction |
| Дата | |
| Msg-id | 2031521.1663076724@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Tuples inserted and deleted by the same transaction (Laurenz Albe <laurenz.albe@cybertec.at>) |
| Ответы |
Re: Tuples inserted and deleted by the same transaction
|
| Список | pgsql-hackers |
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> But once they are deleted or updated, even the transaction that created them cannot
> see them any more, right?
I would not trust that claim very far. The transaction might have active
snapshots with a command ID between the times of insertion and deletion.
(Consider a query that is firing triggers as it goes, and the triggers
are performing new actions that cause the command counter to advance.
The outer query should not see the results of those actions.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера