Re: Turn TransactionIdRetreat/Advance into inline functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Turn TransactionIdRetreat/Advance into inline functions
Дата
Msg-id 4075570.1665414763@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Turn TransactionIdRetreat/Advance into inline functions  (Maxim Orlov <orlovmg@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Maxim Orlov
Дата:
Сообщение: Re: Turn TransactionIdRetreat/Advance into inline functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: shadow variables - pg15 edition