Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1ld9-007jCA-SW for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Apr 2025 12:31:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u1ld8-00Fm9k-7h for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Apr 2025 12:31:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1ld7-00Fm9c-OH for pgsql-hackers@lists.postgresql.org; Mon, 07 Apr 2025 12:31:10 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u1ld3-003uxN-19 for pgsql-hackers@lists.postgresql.org; Mon, 07 Apr 2025 12:31:09 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 6B1F7114016F; Mon, 7 Apr 2025 08:31:02 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Mon, 07 Apr 2025 08:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1744029062; x=1744115462; bh=C sKEYM85UXu2Wgngl/Bq6/DXXvDIo3yszrqTNeNXTy4=; b=LeF+jw44O3juo7cDk dJ5gJqs8uf7rJUMnQNlkX1l02TPW7563acnVgzZ9s/Y81jnfdsOAGN38V2JRoV01 0lEpsdIv6K1HmX64E0e6sseoyhfCMor+ALj9ZFITLrUd6hDMnVhvUr9DyixQhg4r 9gl1fbh0gHFl4wLYKJQn3Y5uB6PqugkANsGnMBVPi6u/2QbMgeLuoitZa/SYlJz+ wxMmNOru3yHdlxGOzbdR9sENGXSUCZNVLzX7HqlTntMXLSplDd+zRLijp/VBewDC aK1xg1uIh7C6rdL9GMq4tQbULDm0XptXW4RFJKeQIKMqtZCLcUIYMG8DgVXdDHjD eaydQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtddtudelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddt jeenucfhrhhomheplmhlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlh hvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdehueffhefgueekueef heehgffhuefgfedukeejveduffegffekgeffffevgeehnecuffhomhgrihhnpegvnhhtvg hrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehshhhlohhk rdhkhigrlhdrohhsshesghhmrghilhdrtghomhdprhgtphhtthhopehvihhgnhgvshhhvd dusehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhi shhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepshdrthgrthgrrhhinh htshgvvhesphhoshhtghhrvghsphhrohdrrhhu X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Apr 2025 08:31:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1744029059; bh=zXerb7R/5S8KxXcJsNLk16aKK5bJNAauejRPy9e7NW4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Ihhluj4F7z2lNBSbpEHf4K8zzfUTS7KimdeitHAn+D+ViLltPAzzHHyf3VMA4snZ5 wOI83Ka1icwgOdMlMRUeTEitGvZchTk/Kuxs6TUJndxBxev4xve1uny3qqeIroJ5+Z VPb+B88qX3ikB/4Pva6QlbfBLckL/nYIexYJrkO1Bg1fBV9K6io5p/kjjTf4efb+JG dC7TL7hDcKe+WOKBW2IuW6v5rtIkKGs8Hr0tsuJCjO0fR/r5mVUeg793vBzsxn+4F1 KuUZkj/B9W9DN9I+e5STjOUkzzthT8B5oMOTir+k8l3s7gm712dUMRSesMLE4J1qeT 4LT8QsN837/dw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 4A8AF8F; Mon, 7 Apr 2025 14:30:59 +0200 (CEST) Date: Mon, 7 Apr 2025 14:30:59 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Sergey Tatarintsev Cc: Shlok Kyal , vignesh C , pgsql-hackers@lists.postgresql.org Subject: Re: Restrict publishing of partitioned table with a foreign table as partition Message-ID: <202504071230.2dw72naygjvf@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 2025-Apr-07, Sergey Tatarintsev wrote: > I think this is a wrong assumption: > > ScanKeyInit(&key[keycount++], Anum_pg_class_relispartition, > BTEqualStrategyNumber, F_BOOLEQ, BoolGetDatum(false)); > > In this case sch5.part1 is partitioned table, but it also partition of table > in different schema Yeah, this looks ill-considered. After looking at this code some more, I'm withdrawing myself from here. (I don't mean just this patch in particular, I mean the logical replication code as a whole.) Thanks, -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "La persona que no quería pecar / estaba obligada a sentarse en duras y empinadas sillas / desprovistas, por cierto de blandos atenuantes" (Patricio Vogel)