pgsql: Comments in IndexBuildHeapScan describe the indexing of
В списке pgsql-committers по дате отправления:
| От | tgl@postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql: Comments in IndexBuildHeapScan describe the indexing of |
| Дата | |
| Msg-id | 20060324230223.AD1EB9DCC9D@postgresql.org обсуждение исходный текст |
| Ответы |
Re: pgsql: Comments in IndexBuildHeapScan describe
|
| Список | pgsql-committers |
Log Message:
-----------
Comments in IndexBuildHeapScan describe the indexing of recently-dead
tuples as needed "to keep VACUUM from complaining", but actually there is
a more compelling reason to do it: failure to do so violates MVCC semantics.
This is because a pre-existing serializable transaction might try to use
the index after we finish (re)building it, and it might fail to find tuples
it should be able to see. We got this mostly right, but not in the case
of partial indexes: the code mistakenly discarded recently-dead tuples for
partial indexes. Fix that, and adjust the comments.
Tags:
----
REL8_1_STABLE
Modified Files:
--------------
pgsql/src/backend/catalog:
index.c (r1.261.2.1 -> r1.261.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c.diff?r1=1.261.2.1&r2=1.261.2.2)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера