agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix missing hash_seq_term()
Date: Thu, 13 Aug 2026 12:07:19 +0000
Message-ID: <E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org> (raw)
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(+)
Message-ID: <E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org>
Permalink: ../E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix missing hash_seq_term()
In-Reply-To: <E1wuUDO-00000000PE9-0P79@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox