| От | Tom Lane |
|---|---|
| Тема | Re: tuptoaster.c must *not* use SnapshotAny |
| Дата | |
| Msg-id | 25242.1011304048@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: tuptoaster.c must *not* use SnapshotAny (Jan Wieck <janwieck@yahoo.com>) |
| Список | pgsql-hackers |
Jan Wieck <janwieck@yahoo.com> writes:
> Originally I added SnapshotAny only to solve the problem that
> the lookup of the toast table happens independant from the
> access to the main tuple, and that in fact the main tuple
> could have been deleted by the own transaction in between.
> Would changing SnapshotAny to honor HEAP_MOVED_* fix the
> problem? If nothing else by now uses this snapshot, it could
> be done in place.
What I've done is add an additional snapshot class SnapshotToast
that behaves that way. There are a couple other uses of SnapshotAny
that I didn't think I wanted to mess with.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера