BUG #16931: source code problem about commit_ts

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: zoulx1982(at)163(dot)com
Subject: BUG #16931: source code problem about commit_ts
Date: 2021-03-18 04:36:08
Message-ID: 16931-620d0f2fdc6108f1@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16931
Logged by: lx zou
Email address: zoulx1982(at)163(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ярослав Пашинский 2021-03-18 08:21:53 Re: BUG #16927: Postgres can`t access WAL files
Previous Message Michael Paquier 2021-03-17 22:27:31 Re: BUG #16927: Postgres can`t access WAL files