pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Further harden nbtree posting split code.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Further harden nbtree posting split code.
@ 2021-10-27 19:12 Peter Geoghegan <pg@bowt.ie>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Geoghegan @ 2021-10-27 19:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Further harden nbtree posting split code.
@ 2021-10-27 19:12 Peter Geoghegan <pg@bowt.ie>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Geoghegan @ 2021-10-27 19:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Further harden nbtree posting split code.
@ 2021-10-27 19:12 Peter Geoghegan <pg@bowt.ie>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Geoghegan @ 2021-10-27 19:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-10-27 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 19:12 pgsql: Further harden nbtree posting split code. Peter Geoghegan <pg@bowt.ie>
2021-10-27 19:12 pgsql: Further harden nbtree posting split code. Peter Geoghegan <pg@bowt.ie>
2021-10-27 19:12 pgsql: Further harden nbtree posting split code. Peter Geoghegan <pg@bowt.ie>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox