Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparentwraparound - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparentwraparound
Date
Msg-id 20191009175139.GA27341@alvherre.pgsql
Whole thread Raw
In response to Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparentwraparound  (Moreno Andreo <moreno.andreo@evolu-s.it>)
Responses Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparentwraparound
List pgsql-general
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



pgsql-general by date:

Previous
From: stan
Date:
Subject: I messed up and my disk utlization is HUGE
Next
From: Timmy Siu
Date:
Subject: Re: Allowing client access