From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Daulat <daulat.dba@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: uncommitted xmin 3100586 from before xid cutoff 10339367 needs to be frozen
Date: Fri, 22 Mar 2024 08:05:53 +0100
Message-ID: <a332ed10692b4a52efcf9320ad2ea3fe426c448f.camel@cybertec.at> (raw)
In-Reply-To: <CALfOM6+xd_HU-E7f7mACxf8ZdBV-asxdAsWVCO7rsb+Em4feXg@mail.gmail.com>
References: <CALfOM6+xd_HU-E7f7mACxf8ZdBV-asxdAsWVCO7rsb+Em4feXg@mail.gmail.com>
On Fri, 2024-03-22 at 10:56 +0530, Daulat wrote:
> We recently started seeing an error “ERROR: uncommitted xmin 3100586
> from before xid cutoff 10339367 needs to be frozen” on our user tables.
> I’m unable to do ‘vacuum’, ‘vacuum freeze’ or ‘vacuum full’ on Postgres 14.4 running on a windows environment.
>
> Error:
>
> first come this---- ERROR: uncommitted xmin 3100586 from before xid cutoff 10339367 needs to be frozen
> CONTEXT: while scanning block 1403 offset 8 of relation "pg_catalog.pg_attribute"
Update to 14.latest; perhaps that data corruption was caused by a bug that
is already fixed.
Upgrading won't get rid of the error though (I think).
The seasy way is to dump the database and restore it to a new database.
Yours,
Laurenz Albe
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, daulat.dba@gmail.com
Subject: Re: uncommitted xmin 3100586 from before xid cutoff 10339367 needs to be frozen
In-Reply-To: <a332ed10692b4a52efcf9320ad2ea3fe426c448f.camel@cybertec.at>
References: <CALfOM6+xd_HU-E7f7mACxf8ZdBV-asxdAsWVCO7rsb+Em4feXg@mail.gmail.com> <a332ed10692b4a52efcf9320ad2ea3fe426c448f.camel@cybertec.at>
* 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