Re: BUG #18804: LISTEN on channel fails with "could not access status of transaction"
Laurenz Albe <laurenz.albe@cybertec.at>
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Andrei Varashen <voroshen.av@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2025-06-10T14:44:42Z
Lists: pgsql-bugs
On Tue, 2025-06-10 at 12:02 +0200, Andrei Varashen wrote: > Hi! Just kind reminder about bug report. I'm still waiting for some response > > On Tue, Feb 11, 2025 at 5:27 PM PG Bug reporting form <noreply@postgresql.org> wrote: > > The following bug has been logged on the website: > > > > Bug reference: 18804 > > Logged by: Andrei Varashen > > Email address: voroshen.av@gmail.com > > PostgreSQL version: 16.3 > > Operating system: Debian GNU/Linux 12 (bookworm) > > Description: > > > > Hi there, > > > > I've encountered the error while trying to register a listener with the > > LISTEN channel_name statement in my production database: > > > > STATEMENT: LISTEN river_leadership > > ERROR: could not access status of transaction 2048841894 > > DETAIL: Could not open file "pg_xact/07A1": No such file or directory. This is a duplicate of bug 16961: https://www.postgresql.org/message-id/flat/16961-25f29f95b3604a8a%40postgresql.org As far as I know, the problem happens when you are hold transactions open for a very long time, so don't do that. A restart of the database will fix the immediate problem. Yours, Laurenz Albe
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix bug where we truncated CLOG that was still needed by LISTEN/NOTIFY
- eba917d360e7 14.21 landed
- 1a469d7b5b7d 15.16 landed
- 053e1868b7ee 16.12 landed
- d02c03ddc5e3 17.8 landed
- 321ec54625fd 18.2 landed
- 8eeb4a0f7c06 19 (unreleased) landed