From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: zoulx1982@163.com
Subject: BUG #16931: source code problem about commit_ts
Date: Thu, 18 Mar 2021 04:36:08 +0000
Message-ID: <16931-620d0f2fdc6108f1@postgresql.org> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, zoulx1982@163.com
Subject: Re: BUG #16931: source code problem about commit_ts
In-Reply-To: <16931-620d0f2fdc6108f1@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox