Re: doubt about FullTransactionIdAdvance()

2022-10-23 Thread Zhang Mingli
Hi, Andres On Oct 24, 2022, 01:16 +0800, Andres Freund , wrote: > Hi, > > On 2022-10-22 11:32:47 +0800, Zhang Mingli wrote: > > Hi, hackers > > > > I don't quite understand FullTransactionIdAdvance(), correct me if I’m > > wrong. > > > > > > /* > >  * Advance a FullTransactionId variable, steppin

Re: doubt about FullTransactionIdAdvance()

2022-10-23 Thread Andres Freund
Hi, On 2022-10-22 11:32:47 +0800, Zhang Mingli wrote: > Hi, hackers > > I don't quite understand FullTransactionIdAdvance(), correct me if I’m wrong. > > > /* >  * Advance a FullTransactionId variable, stepping over xids that would appear >  * to be special only when viewed as 32bit XIDs. >  */

doubt about FullTransactionIdAdvance()

2022-10-21 Thread Zhang Mingli
Hi, hackers I don't quite understand FullTransactionIdAdvance(), correct me if I’m wrong. /*  * Advance a FullTransactionId variable, stepping over xids that would appear  * to be special only when viewed as 32bit XIDs.  */ static inline void FullTransactionIdAdvance(FullTransactionId *dest) {