Fix incorrect assignment for nodeid in TransactionIdGetCommitTsData() - Mailing list pgsql-hackers

From wangpeng
Subject Fix incorrect assignment for nodeid in TransactionIdGetCommitTsData()
Date
Msg-id tencent_FED33DE297DEA5EC5E888D3B9F7E50D6EF07@qq.com
Whole thread Raw
Responses Re: Fix incorrect assignment for nodeid in TransactionIdGetCommitTsData()
List pgsql-hackers
Hi hackers,

This is my first patch
There is an incorrect assignment of nodeid = 0 in 
TransactionIdGetCommitTsData() (commit_ts.c).
Elsewhere in the file, the code consistently uses InvalidReplOriginId.
Even though InvalidReplOriginId also evaluates to 0, it should be used 
here for clarity and consistency.

Best regards,
Wang Peng

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: pg_dumpall --roles-only interact with other options
Next
From: Dilip Kumar
Date:
Subject: Re: Warn when creating or enabling a subscription with max_logical_replication_workers = 0