Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uP0Da-00FNi4-9h for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Jun 2025 14:44:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uP0DY-005Vt7-95 for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Jun 2025 14:44:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uP0DX-005Vsy-Uz for pgsql-bugs@lists.postgresql.org; Tue, 10 Jun 2025 14:44:48 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uP0DW-001GWq-0z for pgsql-bugs@lists.postgresql.org; Tue, 10 Jun 2025 14:44:47 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3a52874d593so5336277f8f.0 for ; Tue, 10 Jun 2025 07:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1749566685; x=1750171485; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=f3+IrCDXKtRKuaBtuPKOkJJ3SXFd4gYemjdzQhZyW4o=; b=FjoZg0vk/a1lNY0OJv7pyzko74n4Ku7cMcdA7+/mgSBQoSsohTABv4RaV2Tgk045GH o5KkhbvWv8+lZoaWD5lqSZ15sk7IFJOdXvvmGxlS/t3ahCYk2Dbx8rAny6dKDgvZ28dx KjxKpBfz0KJs3l/ZsJFkO6v8FVt1/JnorNzxUfDuHYy9Rqf4+GB8Vsg5rSysVcpm1qfO JvJee3ORDkPbN/wTI/sMtkyuRBbfiQX7FiaJk2Ej3KmTUKALQ8if/IXh3WCNmtVGnQGd ZltYa7rBzR5+JV7vYpS7i18Aqa81uCh41RrWXamScYE4vmG12+n4TeT4RdFqpPTUfCIa 7d3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749566685; x=1750171485; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=f3+IrCDXKtRKuaBtuPKOkJJ3SXFd4gYemjdzQhZyW4o=; b=dngSDKJC9uQNUjl8vBnJimCWXQMzSM/askfxchAv16viIpn57H5RiBVWpyKhEIyZY/ JReIDYinSEd7KPNFCt2/LQjdDMr4e418T3QkWWTbgyseV2E3tY7nxLQhOnVJmULFNGM0 6XG9BwObFyqF58I52nhILFHO47id5iq6CTYG9WSwUT8jaKrn9kBaH9X2Qh9wbjAj74wj QOgfp5AWYZMiUGcS/BvJ/xyW/+0TOqOXrMrmohwe4qyJHU0gnIyR/uJJ1QstGzt4+XgV jZm0qo2drN2fJ/K14jHL1VVVzuW5+2Ox7oyI4+GDmZi8wCmH9Fxg2Fj3qoBjqihmkg1q qHBw== X-Forwarded-Encrypted: i=1; AJvYcCW1NStre7pGNwfxEJDAJBLAn0JwPr/EJdHn0sacvhGPafdgFCZSFuEYKYQjGZ+KZhkULoH2ctP0po3p@lists.postgresql.org X-Gm-Message-State: AOJu0YyzS0mLOaxHFC+8fmZtwSDTNArHGVaqN4PmxMgumzZnGm4QQSi6 3J0JM0rx53U/A1IeExWoeBCLhdOl5f16VfEg53WUlXVB8F8rgS2SbGX3LbT8xGSi3HM= X-Gm-Gg: ASbGncu5d9zvuZU/8op3IJG93ynIfvEW9bS2TDYTdkTUICFCnorRufwwLGSDFgt2Z0t /TvotoEo32X3Vacyi32axZAx9H0it/ejbPQHe9/l3GOIcDVV83dyPTeY7aKT1RCF61Nv7Mx1Xh0 5dV6wxGIkKzGa0HrH+OV0MM4LLS0AOascUu3hggnz8Cj9iCvcY4g/5ykR6Zrm8PbgDOuTLoEPG+ 3pV1YsC0zpSrn9mNgBTra/RIMMlRvz5/tEyIfELLN8tf0fdSZrAdYI57WkQNRjFoB4hMK+SFQTz DlBBoOZppSBTjcIXaNfRiEkHd4ISZCCTYJ31o7r5DpTGYa0RefGZ1IS8v7aVbwwNFpl2joKwvmr sZvey1/sXRMDm5lQ= X-Google-Smtp-Source: AGHT+IFszpfIs1A6V8QQbr7ei52AqnlpkfPJcoPQ7PhJWVF/lGXcB6Nc5B+BGo2DpBaQ8LxXG+Ybaw== X-Received: by 2002:a05:6000:18ab:b0:3a5:2ef8:3512 with SMTP id ffacd0b85a97d-3a53188d037mr13954761f8f.14.1749566684555; Tue, 10 Jun 2025 07:44:44 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:5e:1fcb:8220:6edb:4779:100b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a5322ab413sm12369512f8f.23.2025.06.10.07.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jun 2025 07:44:44 -0700 (PDT) Message-ID: <9ca962e107aaad0bed399dc5ae47a761b8a61c95.camel@cybertec.at> Subject: Re: BUG #18804: LISTEN on channel fails with "could not access status of transaction" From: Laurenz Albe To: Andrei Varashen , pgsql-bugs@lists.postgresql.org Date: Tue, 10 Jun 2025 16:44:42 +0200 In-Reply-To: References: <18804-bccbbde5e77a68c2@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 respo= nse >=20 > On Tue, Feb 11, 2025 at 5:27=E2=80=AFPM PG Bug reporting form wrote: > > The following bug has been logged on the website: > >=20 > > Bug reference:=C2=A0 =C2=A0 =C2=A0 18804 > > Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Andrei Varashen > > Email address:=C2=A0 =C2=A0 =C2=A0 voroshen.av@gmail.com > > PostgreSQL version: 16.3 > > Operating system:=C2=A0 =C2=A0Debian GNU/Linux 12 (bookworm) > > Description:=C2=A0 =C2=A0 =C2=A0 =C2=A0=20 > >=20 > > Hi there,=20 > >=20 > > I've encountered the error while trying to register a listener with the > > LISTEN channel_name statement in my production database: > >=20 > > 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%40postgre= sql.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