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 1vXnEu-005i3U-1w for pgsql-admin@arkaria.postgresql.org; Mon, 22 Dec 2025 21:14:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vXnEt-00G4SE-1r for pgsql-admin@arkaria.postgresql.org; Mon, 22 Dec 2025 21:14:48 +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 1vXnEs-00G4S5-1c for pgsql-admin@lists.postgresql.org; Mon, 22 Dec 2025 21:14:47 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vXnEp-002BFZ-2k for pgsql-admin@lists.postgresql.org; Mon, 22 Dec 2025 21:14:46 +0000 Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfout.stl.internal (Postfix) with ESMTP id 672B11D0005A; Mon, 22 Dec 2025 16:14:41 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Mon, 22 Dec 2025 16:14:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= quadratum-braccas.com; h=cc:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1766438081; x=1766524481; bh=4Z6jGAYbUr QJYXddSaPrnByZEQun3gWlvtUPGhObEQU=; b=ObOefCTPzrH18C+JkohUPmDEU/ e9w6DzMHaXgIGDT037EvF922qLDaiXa//V32e1HP6asPvzYs2H+dz5foL9MLPR/Q G+kZr2mRfN/Phn+nWEXfeJ7bkXp/SeS9wJOFkopqRbRfgn81Hjrucm54KLTX2YZM n7doFMZ61AJ6ZSYgN+m5mnUWve+fMKT1I74n6lZ4Uiqv0eSUqBJS9p59wNxV0tRf FFF/8qNuMin14Mg/WceEbvJsAkh21A5UCqWuGp7EhyxQVmaTaDfbXTvrVTF6aHQw edDkDSLOCYstmEaHkQy8lToRwf8CIVfYdc+Zruv/2IPGuaafhMlT4wbxWVFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from: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=fm1; t=1766438081; x= 1766524481; bh=4Z6jGAYbUrQJYXddSaPrnByZEQun3gWlvtUPGhObEQU=; b=b +muQTFGSbGEtuXHEG2MsNeqZmvYHw1iZHo0QUNmn3D11LoIQq0PoM2H5O60rRvrg MX/9E/SiRN0ws/9HfgU5fU7BRRaqdRbgeDtY11ZpYCq6Ttv7FOue6cAkImoGgwfp qSL5N83PFz9zSZi1s15ESPGuH83Ag9ojLhgYWWhEleWtbqOhR4am4brXcW/gJF5j sgs2m4tDRLzF4lFHfwTBRbDtgJD2Kq7Kwrg+PevTaGV3HRkzntXLHOBkjNfUTGVK S1fMRDsKg94VHKwT50MdHjt2YHEHF2m+fDtjNex34SsXS6Ja57OGx8uZTsdnOZUC kdy/GaIx3eb9YmlOWUijA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdehkedttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfvhffusegrtderredtvdejne cuhfhrohhmpefusghosgcuoehssghosgesqhhurggurhgrthhumhdqsghrrggttggrshdr tghomheqnecuggftrfgrthhtvghrnhepkefhvdekfeeliefgteehuedttdelueetueeihf evvddvteettdekkeehgfeigfeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepshgsohgssehquhgrughrrghtuhhmqdgsrhgrtggtrghsrdgtoh hmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehp ghhsqhhlqdgrughmihhnsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtph htthhopehssghosgesqhhurggurhgrthhumhdqsghrrggttggrshdrtghomh X-ME-Proxy: Feedback-ID: i374947ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Dec 2025 16:14:40 -0500 (EST) Content-Type: multipart/alternative; boundary="------------3M85Hlp8lMyAE8t1v1fMlejw" Message-ID: <47840565-33e4-4294-aee3-5fda21bd27e6@quadratum-braccas.com> Date: Mon, 22 Dec 2025 14:14:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: pgsql-admin@lists.postgresql.org Content-Language: en-US From: Sbob Subject: logical replication, with a replication slot but still getting "requested WAL segment has already been removed" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------3M85Hlp8lMyAE8t1v1fMlejw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit All; We have setup logical replication for some very large tables, both publisher and subscriber are running postgresql v14, however even though the locical replication is using a replication slot we keep getting this error: 2025-12-21 23:25:50.452 UTC [2131314] LOG:  logical replication apply worker for subscription "bigtables_sub" has started 2025-12-21 23:25:50.987 UTC [2131314] ERROR:  could not receive data from WAL stream: ERROR:  requested WAL segment 000000020000089F00000098 has already been removed Thanks for any help --------------3M85Hlp8lMyAE8t1v1fMlejw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

All;

We have setup logical replication for some very large tables, both publisher and subscriber are running postgresql v14, however even though the locical replication is using a replication slot we keep getting this error:

2025-12-21 23:25:50.452 UTC [2131314] LOG:  logical replication apply worker for subscription "bigtables_sub" has started
2025-12-21 23:25:50.987 UTC [2131314] ERROR:  could not receive data from WAL stream: ERROR:  requested WAL segment 000000020000089F00000098 has already been removed

Thanks for any help

--------------3M85Hlp8lMyAE8t1v1fMlejw--