Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMvWc-0001vz-K3 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Feb 2022 17:34:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMvWb-0004LN-62 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Feb 2022 17:34:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMvWa-0004Iw-Rw for pgsql-hackers@lists.postgresql.org; Wed, 23 Feb 2022 17:34:00 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMvWY-00033R-Bk for pgsql-hackers@lists.postgresql.org; Wed, 23 Feb 2022 17:33:59 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9EC3032001BB; Wed, 23 Feb 2022 12:33:56 -0500 (EST) Received: from imap49 ([10.202.2.99]) by compute4.internal (MEProxy); Wed, 23 Feb 2022 12:33:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eulerto.com; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=13WiopA49YSvyg57WKY6iGtCz/1saA/VqCL32K /Of6s=; b=QrkOJFZijGdwFligi7vL04BSBWPExHpUbTG3sJrA8sgpYZelRs9OCf N2lh1kUMQh4mD2rLP7FHUEKow390BL+Ni4RGtBdxwBq9qgr5zKLg+cmQHBtBNKUn 351X+nQu/iUTPrX8bYVDSWK5OtPlIjXJrcGegMns463bpGqIZylPa10nNPlUlnxb N7D1SmOTX1INR2sQisR7qyny6aReDUl/C2aszjN9X4PxqKVZPejWqE8g0EpJFTbP ZgcltGahC7ImGfJbfkl+PQGeEd735Y7qWRTo5R2fiCClSG3mqx+S34XAKOlzKgde VxvXotDxfdKPJFZKIIewofDwHGrc/Wbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=13WiopA49YSvyg57W KY6iGtCz/1saA/VqCL32K/Of6s=; b=Iw++6+wZuSPq0ARz+eGup0Nvs02ZU4IOV TNiXi7yDX2H6yA+iUSEQPosX2OZhaMxjTATq5INVO3Di76r8k/6D34nd6CXfsi6Y YQgko6II27HNUbwS+rwW+emvBNC03Rcl3DxqFQu/xnCHQs6bVD71D1S8DHKG5QaS s4wtKqu0jQIvrO/8zb2d4Va4x8o2hgC9Fk77Ced9WaYbxFFl6MQKss82FvSbdlBm ixemzrGPqBbaj1VO6Xe1bA6Ty9j23KN5N71mU7KF7RSfiSWb+diBVwaxjBYWduCx DiCVrVeaC0Xo6UFryzwkp1EWpWZxhG5fIUkn9YYddxr4WihvRg/Dw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrledtgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfguhhl vghrucfvrghvvghirhgrfdcuoegvuhhlvghrsegvuhhlvghrthhordgtohhmqeenucggtf frrghtthgvrhhnpeduhfejgfevveeuffehudevhfdtgfdtudelieffvdetieehheejuedu teektdffvdenucffohhmrghinhepphhusghlihgtrghtihhonhdrhhhofidpvghnthgvrh hprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepvghulhgvrhesvghulhgvrhhtohdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id ED336F6007E; Wed, 23 Feb 2022 12:33:55 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997 Mime-Version: 1.0 Message-Id: <4e158021-248d-43ad-95e5-943334bd1007@www.fastmail.com> In-Reply-To: <0476eb3a-bfe7-9477-540c-ac42d1f16760@enterprisedb.com> References: <90b4e402-3f07-14f4-deca-5eaca31f70a3@enterprisedb.com> <22aef14d-0ea1-9044-c2e7-29f88762eaec@enterprisedb.com> <32540e16-fab6-f790-b99b-5a8fca8bde52@enterprisedb.com> <3B014BE4-EE61-4834-8FF6-937B43C46BC7@enterprisedb.com> <3d68b45a-ceb5-6824-3a39-f53411fd0c88@enterprisedb.com> <802f8b1b-a798-be52-c829-7f0fb9faafd5@enterprisedb.com> <983bf0c7-9757-fd13-3896-8452cf4c4c52@enterprisedb.com> <9211312a-6501-1caf-ee7b-c0d4814b6091@enterprisedb.com> <41ada110-bc7c-32a3-08bd-fb5023dd74ba@enterprisedb.com> <2eed0f76-3a1a-8b8b-ac1b-e0f9a0d98287@enterprisedb.com> <9defb937-20a9-1d9f-6972-f1c4b4da4f73@enterprisedb.com> <0476eb3a-bfe7-9477-540c-ac42d1f16760@enterprisedb.com> Date: Wed, 23 Feb 2022 14:33:34 -0300 From: "Euler Taveira" To: "Tomas Vondra" , "Amit Kapila" Cc: "Peter Eisentraut" , "Petr Jelinek" , "PostgreSQL Hackers" Subject: Re: logical decoding and replication of sequences Content-Type: multipart/alternative; boundary=98f2d9d8cc87453fbd6080c9d1a9a9fa List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --98f2d9d8cc87453fbd6080c9d1a9a9fa Content-Type: text/plain On Wed, Feb 23, 2022, at 1:07 PM, Tomas Vondra wrote: > Maybe, but I don't think it's very common to have that many schemas > added to the same publication. And it probably does not make much > difference whether you have 1000 or 2000 items in the list - either both > are acceptable or unacceptable, I think. Wouldn't it confuse users? Hey, duplicate publication. How? Wait. Doh. > I think just hard-coding this into CreatePublicationStmt would work, but > it'll be an issue once/if we start adding more options. I'm not sure if > it makes sense to replicate other relkinds, but maybe DDL? Materialized view? As you mentioned DDL, maybe we can use the CREATE PUBLICATION syntax to select which DDL commands we want to replicate. -- Euler Taveira EDB https://www.enterprisedb.com/ --98f2d9d8cc87453fbd6080c9d1a9a9fa Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Wed, Feb 23,= 2022, at 1:07 PM, Tomas Vondra wrote:
Maybe, but I don't think it's very common to= have that many schemas
added to the same publication. And= it probably does not make much
difference whether you hav= e 1000 or 2000 items in the list - either both
are accepta= ble or unacceptable, I think.
Wouldn't it con= fuse users? Hey, duplicate publication. How? Wait. Doh.
I think just= hard-coding this into CreatePublicationStmt would work, but
it'll be an issue once/if we start adding more options. I'm not sure = if
it makes sense to replicate other relkinds, but maybe D= DL?
Materialized view? As you mentioned DDL, = maybe we can use the CREATE
PUBLICATION syntax to select w= hich DDL commands we want to replicate.

--
Euler Taveira

--98f2d9d8cc87453fbd6080c9d1a9a9fa--