| От | Bruce Momjian |
|---|---|
| Тема | Adding index flag showing tuple status |
| Дата | |
| Msg-id | 200105171550.f4HFo7B02510@candle.pha.pa.us обсуждение |
| Список | pgsql-hackers |
I am looking at adding an index tuple flag to indicate when a heap tuple is expired so the index code can skip looking up the heap tuple. The problem is that I can't figure out how be sure that the heap tuple doesn't need to be looked at by _any_ backend. Right now, we update the transaction commit flags in the heap tuple to prevent a pg_log lookup, but that is not enough because some transactions may still see that heap tuple as visible. Vacuum has a complex test that looks a currently running transactions and stuff. Do I have to duplicate that test in the new code? Seems I do. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера