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 1uQpsD-0015Eh-1p for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Jun 2025 16:06:21 +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 1uQps8-00DH4E-R0 for pgsql-hackers@arkaria.postgresql.org; Sun, 15 Jun 2025 16:06:17 +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 1uQps8-00DH44-HQ for pgsql-hackers@lists.postgresql.org; Sun, 15 Jun 2025 16:06:17 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uQps5-002Czc-1F for pgsql-hackers@postgresql.org; Sun, 15 Jun 2025 16:06:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 55FG5u6H228608; Sun, 15 Jun 2025 12:05:56 -0400 From: Tom Lane To: Alexander Korotkov cc: Alexander Lakhin , Vitaly Davydov , Amit Kapila , pgsql-hackers , Masahiko Sawada , tomas@vondra.me Subject: Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly In-reply-to: <0a617d34-abc3-4090-92a5-ea15d45e36f6@gmail.com> References: <1d12d2-67235980-35-19a406a0@63439497> <1d97ec-6841b600-3-b7b4780@40747246> <28c8bf-68470780-3-51b29480@89454035> <0a617d34-abc3-4090-92a5-ea15d45e36f6@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Sun, 15 Jun 2025 18:00:01 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <228606.1750003556.1@sss.pgh.pa.us> Date: Sun, 15 Jun 2025 12:05:56 -0400 Message-ID: <228607.1750003556@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk BTW, while you're cleaning up this commit, could you remove the excess newlines in some of the "note" commands in 046 and 047, like note('starting checkpoint\n'); This produces bizarre output, as shown in the buildfarm logs: [04:04:38.953](603.550s) # starting checkpoint\\n regards, tom lane