pgsql: Eliminate xmin from hash tag for predicate locks on heap tuples.
В списке pgsql-committers по дате отправления:
| От | Kevin Grittner |
|---|---|
| Тема | pgsql: Eliminate xmin from hash tag for predicate locks on heap tuples. |
| Дата | |
| Msg-id | E1VTGVC-0003do-7W@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Eliminate xmin from hash tag for predicate locks on heap tuples. If a tuple was frozen while its predicate locks mattered, read-write dependencies could be missed, resulting in failure to detect conflicts which could lead to anomalies in committed serializable transactions. This field was added to the tag when we still thought that it was necessary to carry locks forward to a new version of an updated row. That was later proven to be unnecessary, which allowed simplification of the code, but elimination of xmin from the tag was missed at the time. Per report and analysis by Heikki Linnakangas. Backpatch to 9.1. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/556e6d0ba33388e8e230f11c88d3df25be79bb37 Modified Files -------------- src/backend/storage/lmgr/predicate.c | 14 +++++--------- src/include/storage/predicate_internals.h | 29 +++++++++-------------------- 2 files changed, 14 insertions(+), 29 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера