Re: Turn TransactionIdRetreat/Advance into inline functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Turn TransactionIdRetreat/Advance into inline functions
Date
Msg-id 4074409.1665413917@sss.pgh.pa.us
Whole thread Raw
In response to Turn TransactionIdRetreat/Advance into inline functions  (Maxim Orlov <orlovmg@gmail.com>)
Responses Re: Turn TransactionIdRetreat/Advance into inline functions  (Maxim Orlov <orlovmg@gmail.com>)
List pgsql-hackers
Maxim Orlov <orlovmg@gmail.com> writes:
> I've notice recent activity to convert macros into inline functions. We
> should make TransactionIdRetreat/Advance functions
> Instead of a macro, should we?

-1.  Having to touch all the call sites like this outweighs
any claimed advantage: it makes them uglier and it will greatly
complicate any back-patching we might have to do in those areas.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: create subscription - improved warning message
Next
From: Maxim Orlov
Date:
Subject: Re: Turn TransactionIdRetreat/Advance into inline functions