Re: typo: XIDs are actually compared using modulo-2^32 arithmetic - Mailing list pgsql-hackers

From Tom Lane
Subject Re: typo: XIDs are actually compared using modulo-2^32 arithmetic
Date
Msg-id 22712.1386870086@sss.pgh.pa.us
Whole thread Raw
In response to typo: XIDs are actually compared using modulo-2^32 arithmetic  (Gianni Ciolli <gianni.ciolli@2ndquadrant.it>)
Responses Re: typo: XIDs are actually compared using modulo-2^32 arithmetic
List pgsql-hackers
Gianni Ciolli <gianni.ciolli@2ndquadrant.it> writes:
> It seems there is a typo here:
>   http://www.postgresql.org/docs/devel/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND
> where we say that we compare XIDs using arithmetic modulo 2^31, which
> should instead be 2^32 (as it is with uint32, e.g. xid_age).

[ thinks about that for awhile... ]  Yeah, I think you're right.
Patch pushed, thanks!
        regards, tom lane



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Time-Delayed Standbys
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Time-Delayed Standbys