Re: Turn TransactionIdRetreat/Advance into inline functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Maxim Orlov <orlovmg(at)gmail(dot)com>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Turn TransactionIdRetreat/Advance into inline functions
Date: 2022-10-10 15:12:43
Message-ID: 4075570.1665414763@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Maxim Orlov <orlovmg(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-10-10 16:06:22 Re: shadow variables - pg15 edition
Previous Message Maxim Orlov 2022-10-10 15:08:20 Re: Turn TransactionIdRetreat/Advance into inline functions