| От | Tom Lane |
|---|---|
| Тема | Re: Is VACUUM still crash-safe? |
| Дата | |
| Msg-id | 14385.976585606@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Is VACUUM still crash-safe? (Hiroshi Inoue <Inoue@tpf.co.jp>) |
| Список | pgsql-hackers |
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> VACUUM of a toast table crashed immediately after the movement
> of a tuple(and before inserting corresponding index tuples).
> Unfortunately the movement of a tuple is directly committed in
> already committed state but corresponding index tuples aren't
> inserted.
Ah, *now* I see what you're talking about. You're right, the TOAST
table has to be vacuumed under a separate transaction number.
I still don't like releasing the lock on the master table though.
VACUUM cheats on the commit already, could it start a new transaction
number without releasing the lock?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера