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 1nUHNv-0001um-4v for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Mar 2022 00:19:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nUHNt-0006TS-Mr for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Mar 2022 00:19:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUHNt-0006TJ-CM for pgsql-hackers@lists.postgresql.org; Wed, 16 Mar 2022 00:19:25 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nUHNo-0002rp-VO for pgsql-hackers@lists.postgresql.org; Wed, 16 Mar 2022 00:19:24 +0000 Received: by mail-pj1-x102b.google.com with SMTP id z12-20020a17090ad78c00b001bf022b69d6so949677pju.2 for ; Tue, 15 Mar 2022 17:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:message-id:to:cc:subject:from:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=fr4Vu9JpLXThvsOD9JB5os4T7C6QqC2mOoY+d/ltoAE=; b=UNOM07Se6HTDTbOhT3WCTqJYVhzr1tq7zzKGIw6YAjqW69jRitRzgL10gzPxSql4RK 7E7Awy18PO5VYlRQGKFDYAHiYIATUjkPjlf1PL7zwlEl1ftvciBwlC7ye3xJSiVW3dxJ x+i5y77Fo9ZTfILs8+OmRFrJgdV7ELTJR/OaknVf9qS6ROzNGGPwed1XSM1E1y0fhRgz G/Vc9xfjG6COyIZu0loIOle/kubV1lXlVhOZxhjIhTleDhDtvcJsOrQ6ujt09gvo+Yk9 NUaMkG1+XRPIm865miX2QqrMpcaxusj/+ehHUZCltTKOoi3Y0oPV7t0m36GGSP61aqvk wjAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=fr4Vu9JpLXThvsOD9JB5os4T7C6QqC2mOoY+d/ltoAE=; b=pSkRA1Y7Hxk1nYxu0eAZ411Zv30wS05di8sds5FkK3ix/zzcEw+WAoW3vtK7MG8B7K Dgwt5yxRFBoKlMV+Ds+ks4Vvww1QCKGCZbfd0BWnuXYsDejQeCmmcN9BLZKubm5G8ssh H6JNPqyK1MoRUx9cLaFI52XWw48vKC0ysfUj9084FS95lUsoVAn6fic7XFKyrovJ20Yr H8J8/bu0/T9bXvOefveJRmK7CkBv9iqkwUyOLYT1khVWMg+yrtqLajn5jEsSfNsVNCZH 2oTzXgtBFOpawxqiVjI9nxhlTfayivH9KMK5Eao/eGuZNXCx9ndsCgLULEMa6Qr3PInZ A3HQ== X-Gm-Message-State: AOAM533gCwiMDfmhvd2vlIzD9Zm0wxXUxdaDywHJSTBpqAbt7rbfMWXA t03AO0u9vtxkcG7deU7u6ik= X-Google-Smtp-Source: ABdhPJyABq9yaYCw+XpBkCYA0sNiJY3Lnz+LXt69N19XMqwFTHvBPsjVoJsvEN2Nl35Qe4dHw3ipDA== X-Received: by 2002:a17:90b:38c2:b0:1bf:ad37:c320 with SMTP id nn2-20020a17090b38c200b001bfad37c320mr7322181pjb.148.1647389957934; Tue, 15 Mar 2022 17:19:17 -0700 (PDT) Received: from localhost (KD036014041111.ppp-bb.dion.ne.jp. [36.14.41.111]) by smtp.gmail.com with ESMTPSA id u10-20020a6540ca000000b0037445e95c93sm388644pgp.15.2022.03.15.17.19.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Mar 2022 17:19:17 -0700 (PDT) Date: Wed, 16 Mar 2022 09:19:13 +0900 (JST) Message-Id: <20220316.091913.806120467943749797.horikyota.ntt@gmail.com> To: michael@paquier.xyz Cc: bharath.rupireddyforpostgres@gmail.com, masao.fujii@oss.nttdata.com, nathandbossart@gmail.com, sfrost@snowman.net, bossartn@amazon.com, rjuju123@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: Add checkpoint and redo LSN to LogCheckpointEnd log message From: Kyotaro Horiguchi In-Reply-To: References: <20220315.172340.1059971522574284501.horikyota.ntt@gmail.com> User-Agent: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk At Tue, 15 Mar 2022 18:26:26 +0900, Michael Paquier wrote in > On Tue, Mar 15, 2022 at 05:23:40PM +0900, Kyotaro Horiguchi wrote: > > At Tue, 15 Mar 2022 12:19:47 +0530, Bharath Rupireddy wrote in > >> On Fri, Mar 4, 2022 at 10:40 AM Kyotaro Horiguchi > >> wrote: > >> 0001 - I don't think you need to do this as UpdateControlFile > >> (update_controlfile) will anyway update it, no? > >> + /* Update control file using current time */ > >> + ControlFile->time = (pg_time_t) time(NULL); > > > > Ugh.. Yes. It is a copy-pasto from older versions. They may have the > > same copy-pasto.. > > This thread has shifted to an entirely different discussion, > presenting patches that touch code paths unrelated to what was first > stated. Shouldn't you create a new thread with a proper $subject to > attract a more correct audience? I felt the same since some messages ago. I thought Fujii-san thought that he wants to fix the CreateRestartPoint issue before the checkpoint log patch but he looks like busy these days. Since the CreateRestartPoint issue is orthogonal to the main patch, I'll separate that part into anther thread. This thread is discussing one other topic, wordings in user-facing texts. This is also orthogonal (3-dimentionally?) to the two topics. In short, I split out the two topics other than checkpoint log to other threads. Thanks for cueing me to do that! regareds. -- Kyotaro Horiguchi NTT Open Source Software Center