Re: BUG #18212: Functions txid_status() and pg_xact_status() return invalid status of the specified transaction

Alexander Korotkov <aekorotkov@gmail.com>

From: Alexander Korotkov <aekorotkov@gmail.com>
To: Karina Litskevich <litskevichkarina@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, kyzevan23@mail.ru, pgsql-bugs@lists.postgresql.org
Date: 2024-02-05T14:50:24Z
Lists: pgsql-bugs

Attachments

Hi, Karina!

On Mon, Feb 5, 2024 at 4:35 PM Karina Litskevich
<litskevichkarina@gmail.com> wrote:
> On Mon, Feb 5, 2024 at 4:51 PM Alexander Korotkov <aekorotkov@gmail.com> wrote:
>>
>> I've slightly revised the patch (attached).  I'm going to push it if
>> there are no objections.
>
>
> Thank you very much!
>
> It looks like you based your v3 patch on the v1. Have you noticed Kyotaro's
> comments and my corrections in the v2 patch?

Thank you for pointing this out.  Please, take a look at my v4 of the patch.

------
Regards,
Alexander Korotkov

Commits

  1. Fix wrong logic in TransactionIdInRecentPast()