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 1n34uh-0001y6-O7 for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Dec 2021 23:32:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n34uf-0007jZ-L2 for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Dec 2021 23:32:49 +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 1n34ud-0007jP-UG for pgsql-hackers@lists.postgresql.org; Thu, 30 Dec 2021 23:32:49 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n34uU-0007Mt-3L for pgsql-hackers@postgresql.org; Thu, 30 Dec 2021 23:32:46 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 235D33200C17; Thu, 30 Dec 2021 18:32:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 30 Dec 2021 18:32:34 -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=92PB5dlSYY9CEu+Jn8nR2z2lI5FZPOo65y+xaqMVl94=; b=YUMVzbPc b341P5Zy/1MnFRN34Xmd4vUxGCgecJQbvEa071obD1rW7MKBrmWSR421kPJapGOK hqXzR4Bca7HB4KNCA6JI3T4S+mn1u6k9UZT6UpQJBuFF7cNRr/S3xXK0kVLTBNQO IjYwhxHbtG1fo2aBVyCSJ9y1+WPjdS/GhqItUzYU780VjuRcSLa/HBD0zdV5yDbJ kqJ8PeAHDu0SJ7WgaG/AWRazN5XPK2qePxWrOpxfSD68rm9u504cGvfpBZPq/gGw +cEBQUz5P1DYxj8LG76M1FTu4CipbQjzxT8RzMEZkC15Gp2LIiAenU3wb/5vJSm2 54bqfYnBh5YNAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehmkeerredttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeetvdfhteeuueekfefhfedugeffhfehhfdvleffleetkeeg geefhffggeekjedtudenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Dec 2021 18:32:32 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 70A712A04FF; Thu, 30 Dec 2021 20:32:29 -0300 (-03) Date: Thu, 30 Dec 2021 20:32:29 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Tomas Vondra , Amit Kapila , Peter Eisentraut , "houzj.fnst@fujitsu.com" , Rahila Syed , Peter Smith , pgsql-hackers@postgresql.org Subject: Re: Column Filtering in Logical Replication Message-ID: <202112302332.3dficrkfzcyt@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="c73af22q7iivrqkd" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211230221634.GT24477@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --c73af22q7iivrqkd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2021-Dec-30, Justin Pryzby wrote: Thank you! I've incorporated your proposed fixes. > > + /* > > + * Even if the user listed all columns in the column list, we cannot > > + * allow a column list to be specified when REPLICA IDENTITY is FULL; > > + * that would cause problems if a new column is added later, because > > + * that could would have to be included (because of being part of the > > could would is wrong Hah, yeah, this was "that column would". > > + * Gets a list of OIDs of all column-partial publications of the given > > + * relation, that is, those that specify a column list. > > I would call this a "partial-column" publication. OK, done that way. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ --c73af22q7iivrqkd Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="v14-0001-Avoid-use-of-DEFELEM-enum-in-AlterPublicationStm.patch"