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 1mVZUx-0000Hp-4U for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Sep 2021 13:19:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mVZUv-0000kw-Rz for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Sep 2021 13:19:45 +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 1mVZUv-0000ko-1C for pgsql-hackers@lists.postgresql.org; Wed, 29 Sep 2021 13:19:45 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVZUr-0002aH-Od for pgsql-hackers@postgresql.org; Wed, 29 Sep 2021 13:19:44 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C39455C020E; Wed, 29 Sep 2021 09:19:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 29 Sep 2021 09:19:38 -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=Woo2JhAlpwQjFidDSIq27wCVhWgClSfvO1veuUqIWJQ=; b=stN8OZZ5 mcb/wpWM3sPKPqTwzD7LzLZqPy1L5eXVGpneUiSwxoh1qrX9DIjcG1cTtxVy6lDX 03vRnB7GNJzWFPo1z0Ct7owdGnbcqjbK7CH3f7npdIwbDcamkOedIB5uFHjlWEdC JUxwEb/aOL7ekLFGz3WmIhYVqzfjMzJSg2yoY/xa95WbvZ+CMrybUcDn/TMlTAK/ 1cCsZSGI/dZnjhyet9ShYnoy70rielcJT0W9MVabvTk4ywz04ZDE0QF1xapmsi8Q M89eZ5xiKMoCA+22fboJSlnLZitmXoRHWxBTpO+Ugf/vAFWioqYwAC/9+xM9fntu 4msWK/fk97oCgg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekvddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Sep 2021 09:19:38 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1495E2A06AB; Wed, 29 Sep 2021 10:19:35 -0300 (-03) Date: Wed, 29 Sep 2021 10:19:35 -0300 From: Alvaro Herrera To: Amit Kapila Cc: vignesh C , Rahila Syed , Tomas Vondra , Peter Smith , PostgreSQL-development Subject: Re: Column Filtering in Logical Replication Message-ID: <202109291319.bm65vpzx4vzm@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-28, Amit Kapila wrote: > But it is not allowed to create schema or table with the name > CURRENT_SCHEMA, so not sure if we need to do anything special for it. Oh? You certainly can. alvherre=# create schema "CURRENT_SCHEMA"; CREATE SCHEMA alvherre=# \dn Listado de esquemas Nombre | Dueño ----------------+------------------- CURRENT_SCHEMA | alvherre public | pg_database_owner temp | alvherre (3 filas) alvherre=# create table "CURRENT_SCHEMA"."CURRENT_SCHEMA" ("bother amit for a while" int); CREATE TABLE alvherre=# \d "CURRENT_SCHEMA".* Tabla «CURRENT_SCHEMA.CURRENT_SCHEMA» Columna | Tipo | Ordenamiento | Nulable | Por omisión -------------------------+---------+--------------+---------+------------- bother amit for a while | integer | | | > Now, during post-processing, the PUBLICATIONOBJ_CONTINUATION will be > distinguished as CURRENT_SCHEMA because both rangeVar and name will be > NULL. Do you have other ideas to deal with it? That sounds plausible. There's no need for a name-free object of any other kind AFAICS, so there should be no conflict. If we ever do find a conflict, we can add another struct member to disambiguate. Thanks -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "Doing what he did amounts to sticking his fingers under the hood of the implementation; if he gets his fingers burnt, it's his problem." (Tom Lane)