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 1iS0MH-0002Kb-2U for pgsql-general@arkaria.postgresql.org; Tue, 05 Nov 2019 15:03:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iS0MF-0005kM-Sz for pgsql-general@arkaria.postgresql.org; Tue, 05 Nov 2019 15:02:59 +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 1iS0MF-0005kF-Fn for pgsql-general@lists.postgresql.org; Tue, 05 Nov 2019 15:02:59 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iS0MC-0003Oq-Hn for pgsql-general@postgresql.org; Tue, 05 Nov 2019 15:02:58 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 365B320B51; Tue, 5 Nov 2019 10:02:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 05 Nov 2019 10:02:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=8VfXFl 1VKsZrWeBvIwBK8fQrqRhIo0+uAsz7E6zCdC8=; b=cfM1C3m/RS2xmSEQdvMVK0 AsdEIa5b4GenCIRZSEboq/B+R9fd7qK/brKBkpXtQdrGFhxD8v9Uhv3tcs0/EEhm fVGHUT76Lenl0k8nhV8BWhpXoZOaEw/zo1zDcQ+mFXlkzKNP6jezfAumZNNcpDQZ 7e97YxW19+ltxyeAMWy9rgb2BBEWfcArv0tq30wmO4AGqV9tfiX23EpzkPrDDwtk 3p+lOEbwZGm5VBPtXbNri6TglTHeIYZoVIcOuhbc1Y958RaVWFZN66Fn2d8I1bz8 V92yAWpvkiJD0uZqa8jVozDTxCpOzScBm6E7Cn2JaoIQUFk+Mr6dFqqgcBgCT1Vw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduhedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgesmhdtreertdefheenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqh hurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdrtgho mhenucfkphepleefrddvgedvrddugeejrdejleenucfrrghrrghmpehmrghilhhfrhhomh epphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhmnecu vehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df2934f.dip0.t-ipconnect.de [93.242.147.79]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E0D9306005C; Tue, 5 Nov 2019 10:02:52 -0500 (EST) Subject: Re: logical replication - negative bitmapset member not allowed To: Jehan-Guillaume de Rorthais , Tom Lane References: <20190401214304.GA29208@alvherre.pgsql> <4a16af4e-ba61-e46d-6d69-0a20ef7ed97d@2ndquadrant.com> <20191010151546.69d4f0e9@firost> <20191025173821.6bd76407@firost> Cc: Alvaro Herrera , Tim Clarke , PostgreSQL General List From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 5 Nov 2019 16:02:51 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20191025173821.6bd76407@firost> Content-Type: multipart/mixed; boundary="------------14B1F37717D9AF6066CDACF8" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------14B1F37717D9AF6066CDACF8 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2019-10-25 17:38, Jehan-Guillaume de Rorthais wrote: > On Thu, 10 Oct 2019 15:15:46 +0200 > Jehan-Guillaume de Rorthais wrote: > > [...] >> Here is a script to reproduce it under version 10, 11 and 12: > > I investigated on this bug while coming back from pgconf.eu. Bellow what I found > so far. I have simplified your reproduction steps from the previous message to a test case, and I can confirm that your proposed fix addresses the issue. A patch is attached. Maybe someone can look it over. I target next week's minor releases. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------14B1F37717D9AF6066CDACF8 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-Fix-negative-bitmapset-member-not-allowed-error-in-l.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Fix-negative-bitmapset-member-not-allowed-error-in-l.pa"; filename*1="tch"