Fix txid_status() returning wrong status for some xids

Edit
ID 4767
Title Fix txid_status() returning wrong status for some xids
Topic Bug Fixes
Created 2024-01-09 13:23:55
Last modified 2024-03-07 13:14:10 (9 months ago)
Latest email 2024-03-07 13:34:23 (9 months ago)
Status
2024-03: Committed
Target version
Authors Karina Litskevich (karinalitskevich)
Reviewers Become reviewer
Committer Alexander Korotkov (smagen)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/4767
git checkout commitfest/cf/4767
Emails
BUG #18212: Functions txid_status() and pg_xact_status() return invalid status of the specified transaction
First at 2023-11-24 06:28:26 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2024-03-07 13:34:23 by Alexander Korotkov <aekorotkov at gmail.com>
Latest attachment (0001-Fix-wrong-logic-in-TransactionIdInRecentPast-v4.patch) at 2024-02-05 14:50:24 from Alexander Korotkov <aekorotkov at gmail.com>
    Attachment (0001-Fix-wrong-logic-in-TransactionIdInRecentPast-v4.patch) at 2024-02-05 14:50:24 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-wrong-logic-in-TransactionIdInRecentPast-v3.patch) at 2024-02-05 13:51:02 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Fix-TransactionIdInRecentPast.patch) at 2023-11-30 05:30:36 from Karina Litskevich <litskevichkarina at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Fix-TransactionIdInRecentPast.patch) at 2023-11-24 11:38:23 from Karina Litskevich <litskevichkarina at gmail.com> (Patch: Yes)
History
When Who What
2024-03-07 13:14:10 Maxim Orlov (m.orlov) Closed in commitfest 2024-03 with status: Committed
2024-03-07 13:14:09 Maxim Orlov (m.orlov) Changed committer to smagen
2024-01-09 13:24:52 Karina Litskevich (karinalitskevich) Changed authors to Karina Litskevich (karinalitskevich)
2024-01-09 13:23:55 Karina Litskevich (karinalitskevich) Attached mail thread 18212-547307f8adf57262@postgresql.org
2024-01-09 13:23:55 Karina Litskevich (karinalitskevich) Created patch record
Edit