Hi Amit, Thanks. Tested v2 with assertions. PG19 and PG18 regression/isolation suites pass, as do the reentry and cleanup probes.
Two things: - On master, `LIKE 'RI %'` catches batch flush contexts retained until xact end. Restricting it to `RI compare info` and `RI fast-path finfo scratch` fixes the test; all suites then pass. Checked that it still catches the actual leak. - The shared backpatch doesn't apply cleanly with `git apply` on PG14–17. Adapted PG14 passes too. I'd keep the dead list for now. No runtime issue found in v2. Thanks, Nik
