BUG #16931: source code problem about commit_ts - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16931: source code problem about commit_ts
Date
Msg-id 16931-620d0f2fdc6108f1@postgresql.org
Whole thread Raw
Responses Re: BUG #16931: source code problem about commit_ts  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16931
Logged by:          lx zou
Email address:      zoulx1982@163.com
PostgreSQL version: 13.2
Operating system:   Linux
Description:

Hi,
recently i am reading commit ts code, and i have a problem about it.
i found commit_ts_redo call TransactionTreeSetCommitTsData with last param
`write_xlog`  true,
but RecordTransactionCommitPrepared and RecordTransactionCommit call
TransactionTreeSetCommitTsData 
with `write_xlog` false, which cause there are never xlog with commit_ts -
COMMIT_TS_SETTS type.
thanks for your time.

best wishes.


pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #16927: Postgres can`t access WAL files
Next
From: Ярослав Пашинский
Date:
Subject: Re: BUG #16927: Postgres can`t access WAL files