radixtree: Fix SIGSEGV at update of embeddable value to non-embeddable.
Masahiko Sawada <msawada@postgresql.org>
radixtree: Fix SIGSEGV at update of embeddable value to non-embeddable. Also, fix a memory leak when updating from non-embeddable to embeddable. Both were unreachable without adding C code. Reported-by: Noah Misch Author: Noah Misch Reviewed-by: Masahiko Sawada, John Naylor Discussion: https://postgr.es/m/20240424210319.4c.nmisch%40google.com
Files
| Path | Change | +/− |
|---|---|---|
| src/include/lib/radixtree.h | modified | +5 −1 |
| src/test/modules/test_tidstore/expected/test_tidstore.out | modified | +112 −4 |
| src/test/modules/test_tidstore/sql/test_tidstore.sql | modified | +16 −5 |
| src/test/modules/test_tidstore/test_tidstore.c | modified | +15 −0 |
Discussion
- [PoC] Improve dead tuple storage for lazy vacuum 462 messages · 2021-07-07 → 2024-05-08