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 1mwsjs-00089s-BT for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Dec 2021 21:20:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mwsjq-0004cR-Rj for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Dec 2021 21:20:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwsjq-0004cI-IO for pgsql-hackers@lists.postgresql.org; Mon, 13 Dec 2021 21:20:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwsjn-0002sb-Ru for pgsql-hackers@postgresql.org; Mon, 13 Dec 2021 21:20:02 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C038B5C00C3; Mon, 13 Dec 2021 16:19:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 13 Dec 2021 16:19:57 -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=Gf+zY+pOy0LepLBwAInotzHcpN5DucDgxKwf8LG8UhQ=; b=FnahU6E5 g7dO9HevekW42wVaayouCBLDRu28JaIX67yzRIwE+HBb8MzPmDe/ybcMDMRABsBw 6LJf36N0ONg51qwPU3jND/f92z6rfReXqARKta6dsfhtY+I27nThV6FZqHzVg9PV iUZoFUmA9IBkwdOJ+vJhkbIKIO+A7YCyENbNlA02WwYByvYo5it02uVwyqaAY4tw Y2RIr66lM99cvCoAQEwI2RxWvWyMSCfFhm7qGlVfmAVT4QuQkC02mZ1+ojdugSnL XgifUYb3a6k3a/AWc4f4nhP5SjTkRoCzWcPehZQA0Hs4Pjdz6IN324Yc54R8hFzJ ckKKlKvQxn2dkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkeekgddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Dec 2021 16:19:57 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id DA0F82A03A2; Mon, 13 Dec 2021 18:19:54 -0300 (-03) Date: Mon, 13 Dec 2021 18:19:54 -0300 From: Alvaro Herrera To: Rahila Syed Cc: Amit Kapila , Tomas Vondra , Peter Smith , PostgreSQL-development Subject: Re: Column Filtering in Logical Replication Message-ID: <202112132119.yicwcjkg2gi3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202112131747.cmlstdewm4kh@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Dec-13, Alvaro Herrera wrote: > Hmm, I messed up the patch file I sent. Here's the complete patch. Actually, this requires even a bit more mess than this to be really complete if we want to be strict about it. The reason is that, with the patch I just posted, we're creating a new type of representable object that will need to have some way of making it through pg_identify_object, pg_get_object_address, pg_identify_object_as_address. This is only visible as one tries to patch object_address.sql (auditability of DDL operations being the goal). I think this means we need a new OBJECT_PUBLICATION_REL_COLUMN value in the ObjectType (paralelling OBJECT_COLUMN), and no new ObjectClass value. Looking now to confirm. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "El que vive para el futuro es un iluso, y el que vive para el pasado, un imbécil" (Luis Adler, "Los tripulantes de la noche")