Re:BUG #19492: intarray: fix variable stats leak in _int_matchsel
zengman <zengman@halodbtech.com>
From: zengman <zengman@halodbtech.com>
To: 曾满 <zengman@halodbtech.com>, pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Date: 2026-05-24T05:15:43Z
Lists: pgsql-bugs
Attachments
- 0001-Fix-variable-stats-leak-in-_int_matchsel-early-retur.patch (application/octet-stream) patch 0001
Patch attached. Also added a test case that exercises this code path by creating a text operator with _int_matchsel as the restriction estimator. Regards, Man Zeng
Commits
-
Fix missed ReleaseVariableStats() in intarray's _int_matchsel().
- e7544c518ab0 18 (unreleased) landed
- a96b051a98e3 14 (unreleased) landed
- 94b57ab54a0e 17 (unreleased) landed
- 702a6d5f6348 15 (unreleased) landed
- 524cc0f63874 19 (unreleased) landed
- 273be484aadd 16 (unreleased) landed