From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Moreno Andreo <moreno.andreo@evolu-s.it>
Cc: PostgreSQL mailing lists <pgsql-general@postgresql.org>
Subject: Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound
Date: Wed, 9 Oct 2019 14:51:39 -0300
Message-ID: <20191009175139.GA27341@alvherre.pgsql> (raw)
In-Reply-To: <e9639415-a286-bdd4-c1ee-1493195390e3@evolu-s.it>
On 2019-Oct-07, Moreno Andreo wrote:
> Unfortunately, it didn't work :(
>
> db0=# select * from failing_table where ctid='(3160,31)' for update;
> ERROR: MultiXactId 12800 has not been created yet -- apparent wraparound
Oh well. It was a long shot anyway ...
> Since the probability we are into corruption is very high, what if I \copy
> all the table but the failing row(s) to an external file, drop and recreate
> the table, and then \copy clean data back inside?
Yes, that should work.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, moreno.andreo@evolu-s.it
Subject: Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound
In-Reply-To: <20191009175139.GA27341@alvherre.pgsql>
References: <e9639415-a286-bdd4-c1ee-1493195390e3@evolu-s.it> <20191009175139.GA27341@alvherre.pgsql>
* 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