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 4075570.1665414763@sss.pgh.pa.us
Whole thread Raw
In response to Re: Turn TransactionIdRetreat/Advance into inline functions  (Maxim Orlov <orlovmg@gmail.com>)
List pgsql-hackers
Maxim Orlov <orlovmg@gmail.com> writes:
>> -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.

> Ok, got it. But what if we change the semantics of these calls to
> xid = TransactionIdAdvance(xid) ?

Uh ... you'd still have to touch all the call sites.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Turn TransactionIdRetreat/Advance into inline functions
Next
From: Tom Lane
Date:
Subject: Re: shadow variables - pg15 edition