| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix missing hash_seq_term() |
| Date: | 2026-08-13 12:07:19 |
| Message-ID: | E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix missing hash_seq_term()
This was harmless because the function (ThereAreNoReadyPortals()) has
only one caller, and that caller throws an error if the function
returns false and transaction abort cleans up the in-progress hash
searches. But if someone called the function in some other way,
they'd get a warning about a leaked hash_seq_search scan.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a2b64736bb657163dfb085f279b4e1272b647448
Modified Files
--------------
src/backend/utils/mmgr/portalmem.c | 3 +++
1 file changed, 3 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-08-13 15:20:51 | pgsql: Consistently enforce tsvector/tsquery maximum lengths. |
| Previous Message | Daniel Gustafsson | 2026-08-13 11:22:02 | pgsql: pgcrypto: remove unused field mdc_checked from PGP_Context |