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 1mTtcR-0003pi-Ik for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Sep 2021 22:24:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mTtcP-0006SN-Ik for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Sep 2021 22:24:33 +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 1mTtcO-0006SE-Pz for pgsql-hackers@lists.postgresql.org; Fri, 24 Sep 2021 22:24:33 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTtcI-0004Pz-2n for pgsql-hackers@postgresql.org; Fri, 24 Sep 2021 22:24:31 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3F46D5C0193; Fri, 24 Sep 2021 18:24:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Sep 2021 18:24:24 -0400 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= fm3; bh=VFx/e/+2fu12AMskF7zeti24A3KOUA+ioLUlQPnOLF0=; b=BTrvv8B7 tkXzbYRMndpWCBqwHywNBajz5YdzKlsmxaZcVkOqb7jTxSE6YLKsUjvZU/I5HUCm EWKtnes592Vcl7YFQG8YpioCYBHirGON6xDGwKvJoyQ6vBIFtpGXbbelfNiRmeMO 69k13q+95XE3McdjLAc7o1j1eV7FUKVCv9pNWmoLBdTnm8WWn3W3I8Bg7mZ31xE0 8kkEiIh1hu1c7awLUvZPIRTzHRt3jwjIvYcizpgQzt6ID8PXxprlSoIOeRW+dXbG stmxSSVIVGF23cC2IWa9Gk1ZCXgt/OSrvJVOJM4XZcYHnYeLJP8AZmkTQNvAelhe jYknbsTke521HQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudejvddguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeelfeekhffgleetieegjeekvdejvdelhfeuheefvdejheeu teevteejkeeufffgheenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdgvnh htvghrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Sep 2021 18:24:23 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id AFD362A0754; Fri, 24 Sep 2021 19:24:19 -0300 (-03) Date: Fri, 24 Sep 2021 19:24:19 -0300 From: Alvaro Herrera To: Tomas Vondra Cc: vignesh C , Amit Kapila , Rahila Syed , Peter Smith , PostgreSQL-development Subject: Re: Column Filtering in Logical Replication Message-ID: <202109242224.tfcvtyvdeafb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Sep-24, Tomas Vondra wrote: > But that's not the column filtering patch, right? Why would this patch > depend on "schema level support", but maybe the consensus is there's some > common part that we need to get in first? Yes, the grammar needs to be common. I posted a proposed grammar in https://www.postgresql.org/message-id/202109241325.eag5g6mpvoup%40alvherre.pgsql (this thread) which should serve both. I forgot to test the addition of a WHERE clause for row filtering, though, and I didn't think to look at adding SEQUENCE support either. (I'm not sure what's going to be the proposal regarding FOR ALL TABLES IN SCHEMA for sequences. Are we going to have "FOR ALL SEQUENCES IN SCHEMA" and "FOR ALL TABLES AND SEQUENCES IN SCHEMA"?) -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ Thou shalt study thy libraries and strive not to reinvent them without cause, that thy code may be short and readable and thy days pleasant and productive. (7th Commandment for C Programmers)