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 1vJw0S-008mhQ-0F for pgsql-committers@arkaria.postgresql.org; Fri, 14 Nov 2025 15:46:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJw0P-0075pO-2X for pgsql-committers@arkaria.postgresql.org; Fri, 14 Nov 2025 15:46:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJw0P-0075os-1m for pgsql-committers@lists.postgresql.org; Fri, 14 Nov 2025 15:46:33 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJw0N-0077ic-1S for pgsql-committers@lists.postgresql.org; Fri, 14 Nov 2025 15:46:32 +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=BetA7fXUWU5GPr2/EFgzG0vBjao8blM5EuHV/3u7ruk=; b=AGney Hz1ZED8PBP97Gi+5zauWBI1EB8y8Q7sNRtopm3zBRaHGpiQytoy/F3+TOJeCrp8d9E5lkcqWwdkNV jjtxB/JCU6XCOyNvHaoBJ7RziIA3Cisxi3KtcLRSGxMXvCvksEk7cadheR9X4wFVUiQlpQ8s25qIa jKHz7kofH8688HEnUqf+V12HujEU/QWVyxUA6X1H7Xvb/ngCbYBm8vXXgl/fZNt987FGY0ywEupr2 OfwjyQPm9oPz09KXwOPU0KnKbVfWnrVTkT0dE4u+YUfhvAMVU7es5ZY/kvi/Z+cSMKYQxddlyh4f1 U2ae4hUjCGmW60bykyln0T2h6Mi9g==; Received: from bruce by momjian.us with local (Exim 4.98.2) (envelope-from ) id 1vJw0M-0000000GDq7-2c8h; Fri, 14 Nov 2025 10:46:30 -0500 Date: Fri, 14 Nov 2025 10:46:30 -0500 From: Bruce Momjian To: Andres Freund Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: doc: remove verbiage about "receiving" data from rep. slots Message-ID: References: <53n63x724ahx2nwx42bmivjlt67fpbyh44knx7jazodsqcs5av@umzjyyg3clpq> 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 Fri, Nov 14, 2025 at 09:55:37AM -0500, Andres Freund wrote: > Hi, > > On 2025-11-14 09:49:02 -0500, Bruce Momjian wrote: > > On Fri, Nov 14, 2025 at 09:25:20AM -0500, Andres Freund wrote: > > > Hi, > > > > > > On 2025-11-14 09:12:33 -0500, Bruce Momjian wrote: > > > > On Fri, Nov 14, 2025 at 09:05:07AM -0500, Andres Freund wrote: > > > > > Hi, > > > > > > > > > > On 2025-11-14 09:02:12 -0500, Andres Freund wrote: > > > > > > On 2025-11-14 13:56:06 +0000, Bruce Momjian wrote: > > > > > > > doc: remove verbiage about "receiving" data from rep. slots > > > > > > > > > > > > > > The slots are just LSN markers, not something to receive from. > > > > > > > > > > > > I think this is wrong. Logical slots also preserve resources other than WAL. > > > > > > > > > > I also think that the complaint about slots not being something to receive > > > > > from is simply wrong for logical slots. > > > > > > > > Uh, can you clarify since I can't find details on what they preserve. > > > > > > Slots (physical ones can, logical ones always do), prevent row cleanup on the > > > primary. > > > > I see your point. How is the attached patch? The link right after the > > modified text talks only about WAL retention, so I think we need > > something in this sentence to say we do more than WAL retention for > > logical replication slots. > > It's less wrong, but I don't think this is the right place to add more > documentation about what replication slots do. Patch applied. I can keep improving it as we get more ideas. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.