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 1n7ioH-0008ED-Fl for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jan 2022 18:57:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n7ioG-0008Mm-AJ for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jan 2022 18:57:24 +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 1n7ioF-0008MA-4s for pgsql-hackers@lists.postgresql.org; Wed, 12 Jan 2022 18:57:24 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7ioB-00044K-Bm for pgsql-hackers@postgresql.org; Wed, 12 Jan 2022 18:57:22 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 807D43200E60; Wed, 12 Jan 2022 13:57:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 12 Jan 2022 13:57:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=oycwAgROlQN5QQymAzwjIjlxcI9bYCQjCklakg4wwYc=; b=hUYiEJA8 Gh8iLbpi6xCSdZGm/5CCILrY+OJXUJ3SXAXojLQomd06Wdj1NjLj/SIlQI71dBnV sri7/bMGxjPitpe/igyMldcBkZkB3vuRGD8Fv64YO9iicESazG1OhpXEIA6143be nRImXVS0Hg6AcxBPiPcgFj8Kw/8VthAYQggVX19IPOX++ixPJc/9SkUA8vGjS74K 3RxivwOxqPtY3aAX57bMZb8B1iKR3kQT1oskhKKLvOT2D6R1l10hJd9SGqiL1mwu FuUQqq9GdJ1gY59dNkcOG71doA0pN9EOinnpu4BFjPDDAjY8zQvJOz8G7EMo5Xij tNr3YT79k1Drqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtddugdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepudejveejffejveduudetvdekieeuiedtvdeileefkeevjedu feeguedvjefhueelnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Jan 2022 13:57:15 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A45BE2A0698; Wed, 12 Jan 2022 15:57:12 -0300 (-03) Date: Wed, 12 Jan 2022 15:57:12 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Peter Eisentraut , Tomas Vondra , Amit Kapila , houzj.fnst@fujitsu.com, Rahila Syed , Peter Smith , pgsql-hackers@postgresql.org Subject: Re: Column Filtering in Logical Replication Message-ID: <202201121857.3dtj6tpe2fc7@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220111211053.GB14051@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Jan-11, Justin Pryzby wrote: > Is there any coordination between the "column filter" patch and the "row > filter" patch ? Not beyond the grammar, which I tested. > Are they both on track for PG15 ? I think they're both on track, yes. > Has anybody run them together ? Not me. > I have a suggestion: for the functions for which both patches are adding > additional argument types, define a filtering structure for both patches to > use. Similar to what we did for some utility statements in a3dc92600. > > I'm referring to: > logicalrep_write_update() > logicalrep_write_tuple() Fixed: the row filter patch no longer adds extra arguments to those functions. -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/ "Tiene valor aquel que admite que es un cobarde" (Fernandel)