Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8xWw-0005CE-AS for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Jan 2022 04:52:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n8xWu-0007pp-QA for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Jan 2022 04:52:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8xWu-0007pf-FB for pgsql-hackers@lists.postgresql.org; Sun, 16 Jan 2022 04:52:36 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n8xWr-000822-T3 for pgsql-hackers@lists.postgresql.org; Sun, 16 Jan 2022 04:52:35 +0000 Received: by mail-pj1-x1033.google.com with SMTP id n16-20020a17090a091000b001b46196d572so4065145pjn.5 for ; Sat, 15 Jan 2022 20:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YH+4N2aEDdcwRNgJJaibdiqHdxgWqtCBwhVpLqffp6c=; b=OrI5nM9nHcpnTf0Wy0EAkhmlwYQOu94n/kfbpuii5L8R3I7e7LeYz9P7ToD2DseTgn mI3N81Bt+xd7+fAMbrBRUE1UZ5eVj7TBcXiUqRt3LFVxmnwsWkRaLp5jrFdoZ+kR7krt ssuueAWfD3T3UrHntaUJtWh2J0MypeBk0qVWfJHGqR1+/NbnyMNumspR1mvNY/vTZGVC Berc7X4oRDr7sFDs1+GGuFuCV2T77Iagfrj/lF1dG+rqnbgeRu4xJyA9SLkS9Z6eialc LoFmhUcwMc7y5zz5N7+JEt8GAXxrmqkdZZ5szP2fqdhtSAXB8rLvaEx8bIvC+5KRHQK7 SMhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YH+4N2aEDdcwRNgJJaibdiqHdxgWqtCBwhVpLqffp6c=; b=TFczkvvCY8khBVDWOcQ7Cb++3yGtt2G5uh04u55c5BTanVBbL5Qi5IXtyUjyrOSylT N+YVTd8LPLcNcRg7ODCcLSrsGcvjsoug+ZamxIgfQmIXbyLUQnAbC5PBIHxTTeztG77i LPSf2qME3BkifrarIjPDjGPXNS2HVQ7wloizp5dXjD724P5kIa9Cr7fXsjbQOFGvOSJG yCVOBz0wBCuyenvRMEXPhBV+n/GAchlUVB6LKQPnhJd5EBzE63KVGmTGcRm9Jmi/Th29 qFBpGUKFHqqlb4EogXFSx/TFqSmfUyo5D9EA6BPW4ZoqBfQWMO2GRLl/KnfA38TQYJQd AyfA== X-Gm-Message-State: AOAM533eEe6DswZcMSOK2Pp0kVqk98lkD0bz0j/mdH6l0JzzntJNUR94 g7jarZPR7IV76+xO3wYiVb9u2vhGq/bqug== X-Google-Smtp-Source: ABdhPJzgU28a+wb155QJTT3YH/q2rOKotCxMQP8UFnMkJfBMdejm2+Socs2OGCroRTsfkcBmp18PPA== X-Received: by 2002:a17:90a:a90:: with SMTP id 16mr18601374pjw.125.1642308752743; Sat, 15 Jan 2022 20:52:32 -0800 (PST) Received: from jrouhaud (1-171-185-43.dynamic-ip.hinet.net. [1.171.185.43]) by smtp.gmail.com with ESMTPSA id rj12sm6021301pjb.38.2022.01.15.20.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jan 2022 20:52:31 -0800 (PST) Date: Sun, 16 Jan 2022 12:52:28 +0800 From: Julien Rouhaud To: Amul Sul Cc: Robert Haas , Andres Freund , Kyotaro Horiguchi , PostgreSQL Hackers Subject: Re: using an end-of-recovery record in all cases Message-ID: <20220116045228.yym4dxmqsrfkya6r@jrouhaud> References: <20210903.135253.1325195337077676977.horikyota.ntt@gmail.com> <20210907.162633.1795291481066173770.horikyota.ntt@gmail.com> 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 Hi, On Mon, Oct 18, 2021 at 10:56:53AM +0530, Amul Sul wrote: > > Attached is the rebased and updated version. The patch removes the > newly introduced PerformRecoveryXLogAction() function. In addition to > that, removed the CHECKPOINT_END_OF_RECOVERY flag and its related > code. Also, dropped changes for bgwriter.c and slot.c in this patch, which > seem unrelated to this work. The cfbot reports that this version of the patch doesn't apply anymore: http://cfbot.cputube.org/patch_36_3365.log === Applying patches on top of PostgreSQL commit ID 0c53a6658e47217ad3dd416a5543fc87c3ecfd58 === === applying patch ./v3-0001-Always-use-an-end-of-recovery-record-rather-than-.patch patching file src/backend/access/transam/xlog.c [...] Hunk #14 FAILED at 9061. Hunk #15 FAILED at 9241. 2 out of 15 hunks FAILED -- saving rejects to file src/backend/access/transam/xlog.c.rej Can you send a rebased version? In the meantime I will switch the cf entry to Waiting on Author.