pgsql: Further harden nbtree posting split code.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Further harden nbtree posting split code.
Дата
Msg-id E1mfoM3-0001ks-6B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Further harden nbtree posting split code.

Add more defensive checks around posting list split code.  These should
detect corruption involving duplicate table TIDs earlier and more
reliably than any existing check.

Follow up to commit 8f72bbac.

Discussion: https://postgr.es/m/CAH2-WzkrSY_kjyd1_M5xJK1uM0govJXMxPn8JUSvwcUOiHuWVw@mail.gmail.com
Backpatch: 13-, where nbtree deduplication was introduced.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d078fe83d592618d9137e50306566c5a34ceb8aa

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 23 +++++++++++++++++++++--
src/backend/access/nbtree/nbtsearch.c | 17 +++++++++++++++++
2 files changed, 38 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: pgsql: Allow GRANT on pg_log_backend_memory_contexts().
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Fix VPATH builds for src/test/ssl targets