From: Tom Lane <tgl@sss.pgh.pa.us>
To: zengman@halodbtech.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19107: The hold cursor is unexpectedly released during rollback
Date: Mon, 10 Nov 2025 11:04:00 -0500
Message-ID: <1879927.1762790640@sss.pgh.pa.us> (raw)
In-Reply-To: <19107-656a10a7a066f7e9@postgresql.org>
References: <19107-656a10a7a066f7e9@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> While I was writing test cases for the hold cursor, I unexpectedly
> discovered that commit and rollback handle it inconsistently—rollback
> unexpectedly releases the hold cursor. Should this be regarded as a bug?
No, that's intentional. The rollback might be cleaning up a failure
in the held cursor.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, zengman@halodbtech.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19107: The hold cursor is unexpectedly released during rollback
In-Reply-To: <1879927.1762790640@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox