Re: Add macros for ReorderBufferTXN toptxn - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Add macros for ReorderBufferTXN toptxn
Date
Msg-id CAA4eK1JiYpar+JM0-S2N-=nAvj+dxwv+FZ+j6376riUVpto4Jw@mail.gmail.com
Whole thread Raw
In response to Re: Add macros for ReorderBufferTXN toptxn  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
On Thu, Mar 16, 2023 at 10:40 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> On Thu, Mar 16, 2023 at 7:20 AM Peter Smith <smithpb2250@gmail.com> wrote:
> >
> > PSA v4 which addresses both of your review comments.
>
> Looks like a reasonable change to me.
>
> A nitpick: how about using rbtxn_get_toptxn instead of an explicit
> variable toptxn for single use?
>

I find all three suggestions are similar. Personally, I think the
current code looks better. The v4 patch LGTM and I am planning to
commit it unless there are more comments or people find your
suggestions as an improvement.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Yura Sokolov
Date:
Subject: Re: Bug in jsonb_in function (14 & 15 version are affected)
Next
From: Michael Paquier
Date:
Subject: Re: Get rid of PgStat_BackendFunctionEntry