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 1mNjlI-0003Ea-DN for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Sep 2021 22:40:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mNjlG-0005ZJ-Cf for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Sep 2021 22:40:14 +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 1mNjlF-0005Z8-2y for pgsql-hackers@lists.postgresql.org; Tue, 07 Sep 2021 22:40:14 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNjlC-0000X3-45 for pgsql-hackers@postgresql.org; Tue, 07 Sep 2021 22:40:11 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DAD8E5C0109; Tue, 7 Sep 2021 18:40:08 -0400 (EDT) Received: from imap21 ([10.202.2.71]) by compute1.internal (MEProxy); Tue, 07 Sep 2021 18:40:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eulerto.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=dUhRxXwJPGT13LyPNhPnx/M7oXCXD8/ u77Oc9y589a0=; b=Nf1qaLlyZzZJkkaUeugyU8HL/dU3w3+AxybMprPrrIB81yL 7sqrvakXT6l0C9NILydQBBA+Ua/He34JXqGS5nwCpOia6sWyO5IGa1rkaLQCJGRK oiTQYcxMCeQ4i1Yetbg/+50H1TmmYOZNRnkuBDiFpr6Y6OCNILzQOvrWn/6TVYE+ yE8BPYZzjhUv4KrtDIx7uEtA9ixVkw+TzaO1KfqmI6+/M5COGqAeOcv5AG+zmTat 3NJLo02F2DQSJnVhac1YA/wjYaEtOwqC/ThpVzya4PbLGZ2fwlw6vvKaz/HvhN0Y FjqTjK+5+wdAwoR232/Umqi9YHAwwOAc8b5ms3w== 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=fm3; bh=dUhRxX wJPGT13LyPNhPnx/M7oXCXD8/u77Oc9y589a0=; b=vyOgkHDAnnrBrhvlkf/n+E aTWdi/DFbsBkrP3QQk9HkD/ABshj16ZRv8e1TSJmcGxmHuzvFNL2vrpiX87v95Rh EinbHPeqdl/B9US4KM3TtA9Jq0UGA1+fu83LjZ8eMekG1KW68W22RQXQLRt2iztc QnO4WNlF/OZPprAD64Aw3ORhvl8ENRPjbB2n0vG3fK96sPn5i8WFvn71A3SgyxLA ckRE7T4MxFTTQVoUDkLVTHQrYbTZzeVDax54EcBN7AJFlRgpE0d3qOx8qfGSrs0o udJ8NVvQwrrn2+kzLxK6IYsXmXXsqNOn6WhbpFGRMBOMVTUiEgrqXKDtql/DWfXw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudefiedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfguhhl vghrucfvrghvvghirhgrfdcuoegvuhhlvghrsegvuhhlvghrthhordgtohhmqeenucggtf frrghtthgvrhhnpedtjeffieeuieeggeehieeutdevleetteejiedtgfehheefueekveff tedujefhffenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdgvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegvuhhlvghrsegvuhhlvghrthhordgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 45C0B51C0060; Tue, 7 Sep 2021 18:40:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1126-g6962059b07-fm-20210901.001-g6962059b Mime-Version: 1.0 Message-Id: <1c8ee74f-d393-42c7-b83d-dad991717a1a@www.fastmail.com> In-Reply-To: <202109061751.3qz5xpugwx6w@alvherre.pgsql> References: <202109061751.3qz5xpugwx6w@alvherre.pgsql> Date: Tue, 07 Sep 2021 19:39:30 -0300 From: "Euler Taveira" To: "Alvaro Herrera" , "Rahila Syed" Cc: "Amit Kapila" , "Tomas Vondra" , "Peter Smith" , pgsql-hackers Subject: Re: Column Filtering in Logical Replication Content-Type: multipart/alternative; boundary=171460eed09e4b8da1ea8812da5ef4e9 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --171460eed09e4b8da1ea8812da5ef4e9 Content-Type: text/plain On Mon, Sep 6, 2021, at 2:51 PM, Alvaro Herrera wrote: > I pushed the clerical part of this -- namely the addition of > PublicationTable node and PublicationRelInfo struct. I attach the part > of your v4 patch that I didn't include. It contains a couple of small > corrections, but I didn't do anything invasive (such as pgindent) > because that would perhaps cause you too much merge pain. While updating the row filter patch [1] (because it also uses these structures), I noticed that you use PublicationRelInfo as a type name instead of PublicationRelationInfo. I choose the latter because there is already a data structure named PublicationRelInfo (pg_dump.h). It is a client-side data structure but I doesn't seem a good practice to duplicate data structure names over the same code base. [1] https://www.postgresql.org/message-id/0c2464d4-65f4-4d91-aeb2-c5584c1350f5%40www.fastmail.com -- Euler Taveira EDB https://www.enterprisedb.com/ --171460eed09e4b8da1ea8812da5ef4e9 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Mon, Sep 6, = 2021, at 2:51 PM, Alvaro Herrera wrote:
I pushed the clerical part of this -- namel= y the addition of
PublicationTable node and PublicationRel= Info struct.  I attach the part
of your v4 patch that= I didn't include.  It contains a couple of small
cor= rections, but I didn't do anything invasive (such as pgindent)
=
because that would perhaps cause you too much merge pain.
=
While updating the row filter patch [1] (because it al= so uses these
structures), I noticed that you use Publicat= ionRelInfo as a type name instead
of PublicationRelationIn= fo. I choose the latter because there is already a data
st= ructure named PublicationRelInfo (pg_dump.h). It is a client-side data
structure but I doesn't seem a good practice to duplicate d= ata structure names
over the same code base.



--
Euler Taveira

--171460eed09e4b8da1ea8812da5ef4e9--