typo: XIDs are actually compared using modulo-2^32 arithmetic

From: Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: typo: XIDs are actually compared using modulo-2^32 arithmetic
Date: 2013-12-12 15:45:46
Message-ID: 20131212154546.GA14956@756b4.gi.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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).

Best wishes,
Dr. Gianni Ciolli - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
gianni(dot)ciolli(at)2ndquadrant(dot)it | www.2ndquadrant.it

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-12-12 15:49:33 Re: Changeset Extraction Interfaces
Previous Message Tom Lane 2013-12-12 15:36:20 Re: Reference to parent query from ANY sublink