Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBJws-000542-HJ for pgsql-general@arkaria.postgresql.org; Tue, 02 Apr 2019 13:59:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hBJwq-0002xM-PR for pgsql-general@arkaria.postgresql.org; Tue, 02 Apr 2019 13:59:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBJwq-0002uy-AV for pgsql-general@lists.postgresql.org; Tue, 02 Apr 2019 13:59:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBJwn-0003Xs-T8 for pgsql-general@postgresql.org; Tue, 02 Apr 2019 13:59:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x32DxNea017748; Tue, 2 Apr 2019 09:59:25 -0400 From: Tom Lane To: Tim Clarke cc: PostgreSQL General List Subject: Re: logical replication - negative bitmapset member not allowed In-reply-to: References: <7245.1554127364@sss.pgh.pa.us> Comments: In-reply-to Tim Clarke message dated "Mon, 01 Apr 2019 14:53:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17746.1554213563.1@sss.pgh.pa.us> Date: Tue, 02 Apr 2019 09:59:23 -0400 Message-ID: <17747.1554213563@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tim Clarke writes: > Dang. I just replicated ~380 tables. One was missing an index so I > paused replication, added a unique key on publisher and subscriber, > re-enabled replication and refreshed the subscription. Well, that's not much help :-(. Can you provide any info to narrow down where this is happening? I mean, you haven't even told us whether it's the primary or the slave that is complaining. Does it seem to be associated with any particular command? (Turning on log_statement and/or log_replication_commands would likely help with that.) Does data seem to be getting transferred despite the complaint? If not, what's missing on the slave? regards, tom lane