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.96) (envelope-from ) id 1vOUMV-009XlK-1U for pgsql-docs@arkaria.postgresql.org; Thu, 27 Nov 2025 05:16:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vOUMT-003Pzi-0G for pgsql-docs@arkaria.postgresql.org; Thu, 27 Nov 2025 05:16:09 +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.96) (envelope-from ) id 1vOUMS-003Pza-2c for pgsql-docs@lists.postgresql.org; Thu, 27 Nov 2025 05:16:09 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vOUMO-001j4Y-2j for pgsql-docs@lists.postgresql.org; Thu, 27 Nov 2025 05:16:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=Nnlom586a9caT8ceqz0h0WWePSkWrINIOlEqCAzNccE=; b=JpAOO Ul1/VIGq5/lWAPXha8602Y277ERTcWoZJPlZJBW1t7sSWhMA8t0cCb//POLwtKza1T+vgHeRGhqLK IneEHuOMTasHBWtGScS6mMaA8poB0nGFgLf7j1jFkcVL/CRPqZ2CnPAxWJaFDk2yy/Xbm0M0MT2vF ocjf94vtyeDSEEnXi9b29vu/hDq0aOQQhbEwGilXyABZxovuqnDSqbaxyQtMUDNtPzgYQpFQ9IPvW 61aBnp0dNASDv+xqAJ28W8+HRkTv0T3xNnAsTfq3VqlcLaQA+LZQsJWnDKE+jPP8diQMTN/uJ6LNf VYjo2pWJ6TBUlVh8ALE+KDwJTXQXg==; Received: from bruce by momjian.us with local (Exim 4.98.2) (envelope-from ) id 1vOUML-0000000Gc37-1r3w; Thu, 27 Nov 2025 00:16:01 -0500 Date: Thu, 27 Nov 2025 00:16:01 -0500 From: Bruce Momjian To: Robert Treat Cc: Paul A Jungwirth , Laurenz Albe , pgsql-docs@lists.postgresql.org Subject: Re: Streaming Replication vs Logical Message-ID: References: <2c392993640661b817c5c779f6aaf44c103510bf.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Nov 24, 2025 at 11:28:22PM -0500, Robert Treat wrote: > > I took a look through some of the replication slot stuff and ISTM that it basically gets the streaming logical/physical replication distinctions correct, and I *think* > > it gets the slot distinctions correct as well, but to the degree there might be some issue there, I think it could be addressed separately. > > > > Hey Bruce, > > Your recent commit on this topic [1] reminded me of the patch from > earlier this year meant to address some other areas where we are > blurry about using streaming vs physical vs logical replication. I > think (I might possibly still be jet lagged) I have updated the > previous version of that patch against HEAD, attached, and bumping it > up for review. Funny you found this patch, and I was thinking about it recently also because of the fixes for physical vs logical replication. I will apply this patch after sufficient review time, thanks. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.