From: Tim Clarke <tim.clarke@minerva.info>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: PostgreSQL General List <pgsql-general@postgresql.org>
Subject: Re: logical replication - negative bitmapset member not allowed
Date: Thu, 4 Apr 2019 22:05:50 +0000
Message-ID: <6ba2356b-d6ad-abb5-e8ab-d4d9d3f7b0c7@minerva.info> (raw)
In-Reply-To: <4a16af4e-ba61-e46d-6d69-0a20ef7ed97d@2ndquadrant.com>
References: <20190401214304.GA29208@alvherre.pgsql>
<4a16af4e-ba61-e46d-6d69-0a20ef7ed97d@2ndquadrant.com>
On 04/04/2019 22:37, Peter Intrauterine wrote:
> On 2019-04-01 23:43, Alvaro Herrera wrote:
>> Maybe the replica identity of a table got set to a unique index on oid?
>> Or something else involving system columns? (If replication is
>> otherwise working, the I suppose there's a separate publication that's
>> having the error; the first thing to isolate would be to see what tables
>> are involved in that publication).
> Looking through the code, the bms_add_member() call in
> logicalrep_read_attrs() does not use the usual
> FirstLowInvalidHeapAttributeNumber offset, so that seems like a possible
> problem.
>
> However, I can't quite reproduce this. There are various other checks
> that prevent this scenario, but it's plausible that with a bit of
> whacking around you could hit this error message.
>
Promise I've not been whacking around......
Tim Clarke
Main: +44 (0)1376 503500 | Fax: +44 (0)1376 503550
Web: https://www.manifest.co.uk/
Minerva Analytics Ltd
9 Freebournes Court | Newland Street | Witham | Essex | CM8 2BL | England
----------------------------------------------------------------------------------------------------------------------------
Copyright: This e-mail may contain confidential or legally privileged information. If you are not the named addressee you must not use or disclose such information, instead please report it to admin@minerva.info<mailto:admin@minerva.info>
Legal: Minerva Analytics is the trading name of: Minerva Analytics
Ltd: Registered in England Number 11260966 & The Manifest Voting Agency Ltd: Registered in England Number 2920820 Registered Office at above address. Please Click Here >><https://www.manifest.co.uk/legal/; for further information.
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: tim.clarke@minerva.info, peter.eisentraut@2ndquadrant.com
Subject: Re: logical replication - negative bitmapset member not allowed
In-Reply-To: <6ba2356b-d6ad-abb5-e8ab-d4d9d3f7b0c7@minerva.info>
References: <20190401214304.GA29208@alvherre.pgsql> <4a16af4e-ba61-e46d-6d69-0a20ef7ed97d@2ndquadrant.com> <6ba2356b-d6ad-abb5-e8ab-d4d9d3f7b0c7@minerva.info>
* 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