From: molofeev <molofeev3@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5
Date: Wed, 4 Apr 2018 11:20:55 +0300
Message-ID: <957ebcc3-26c9-3ddd-f430-904d9a55505f@gmail.com> (raw)
In-Reply-To: <8883c05f-a737-5a14-301b-06d469ff9853@gmail.com>
References: <20180403132319.e2wtdc26ks54qbqt@alvherre.pgsql>
<8883c05f-a737-5a14-301b-06d469ff9853@gmail.com>
Any ideas?
On 04/03/2018 04:36 PM, molofeev wrote:
> The last query that working is - select * from TABLE_NAME limit 1
> offset 160;
>
> the next query
>
> select * from TABLE_NAME limit 1 offset 162;
>
> return - ERROR: MultiXactId 1048586 has not been created yet --
> apparent wraparound
> SQL state: XX000
>
>
> On 04/03/2018 04:23 PM, Alvaro Herrera wrote:
>> molofeev wrote:
>>> Thank you for reply.
>>> Output of pg_controldata:
>>>
>>> Latest checkpoint's NextMultiXactId: 1
>>> Latest checkpoint's NextMultiOffset: 0
>> Uh, this says that this cluster has never used any multixacts.
>>
>>> Output of [select datminmxid from pg_database where datname =
>>> current_database();]:
>>>
>>> datminmxid
>>> ------------
>>> 1
>> ... and this confirms.
>>
>> I think the easiest way forward is to identify the problem page and see
>> what's there. Please find what command was being run that caused the
>> error, which might help narrow down which table it is; then scan the
>> table to see on which page you can see the error.
>>
>
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-bugs@postgresql.org
Cc: molofeev3@gmail.com, alvherre@alvh.no-ip.org
Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5
In-Reply-To: <957ebcc3-26c9-3ddd-f430-904d9a55505f@gmail.com>
References: <20180403132319.e2wtdc26ks54qbqt@alvherre.pgsql> <8883c05f-a737-5a14-301b-06d469ff9853@gmail.com> <957ebcc3-26c9-3ddd-f430-904d9a55505f@gmail.com>
* 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