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 1uWt58-002oVx-2f for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2025 08:44:42 +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 1uWt56-00D4Ds-3R for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2025 08:44:40 +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.94.2) (envelope-from ) id 1uWt55-00D4Db-Qf for pgsql-bugs@lists.postgresql.org; Wed, 02 Jul 2025 08:44:40 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uWt53-0057Nw-2h for pgsql-bugs@lists.postgresql.org; Wed, 02 Jul 2025 08:44:39 +0000 Received: from [192.168.11.9] (p1696134-ipoe.ipoe.ocn.ne.jp [118.0.93.133]) by oss.nttdata.com (Postfix) with ESMTPSA id 2DFC06095B; Wed, 2 Jul 2025 17:44:31 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: <873d332a-9609-4a1a-bb01-0344e2542575@oss.nttdata.com> Date: Wed, 2 Jul 2025 17:44:30 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #16931: source code problem about commit_ts Content-Language: en-US To: Andy Fan Cc: Alvaro Herrera , zoulx1982@163.com, pgsql-bugs@lists.postgresql.org References: <20210409224241.GA32072@alvherre.pgsql> <87ecuzmkqf.fsf@163.com> From: Fujii Masao In-Reply-To: <87ecuzmkqf.fsf@163.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025/07/02 10:42, Andy Fan wrote: > Fujii Masao writes: > > Hi, > >> On 2021/04/10 7:42, Alvaro Herrera wrote: >>> On 2021-Mar-24, Fujii Masao wrote: >>> >>>> diff --git a/src/backend/access/rmgrdesc/committsdesc.c b/src/backend/access/rmgrdesc/committsdesc.c >>>> index 7ebd3d35ef..26bad44b96 100644 >>>> --- a/src/backend/access/rmgrdesc/committsdesc.c >>>> +++ b/src/backend/access/rmgrdesc/committsdesc.c >>>> @@ -38,31 +38,6 @@ commit_ts_desc(StringInfo buf, XLogReaderState *record) >>>> appendStringInfo(buf, "pageno %d, oldestXid %u", >>>> trunc->pageno, trunc->oldestXid); >>>> } >>>> - else if (info == COMMIT_TS_SETTS) >>> You have not pushed this one, right? I think we should do it now. >> >> Thanks for the ping! Pushed! > > Did this commit(08aa89b326261b669648df97d4f2a6edba22d26a) forget to > remove struct xl_commit_ts_set? You're right. I seem to have overlooked that. > After it, there is no reference to > xl_commit_ts_set. So Is it better clean them as well? Agreed, the patch looks good to me. Unless there are objections, I'll go ahead and commit it. While this could be considered an oversight in the original commit, it's not a bug fix, so I plan to apply it only to the master branch. Regards, -- Fujii Masao NTT DATA Japan Corporation