Re: Transaction ID modulo

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: hemarbruno(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Transaction ID modulo
Date: 2021-03-09 19:00:13
Message-ID: 20210309190013.GG26575@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, Feb 18, 2021 at 01:54:37PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/13/routine-vacuuming.html
> Description:
>
> Hello,
>
> transaction ID modulo is not correct.
>
> The sentence "Normal XIDs are compared using modulo-2^32 arithmetic" should
> be "Normal XIDs are compared using modulo-2^31 arithmetic"

Uh, we use full 32-bit values that wrap around; the top bit is just
another bit to us. I think the docs are correct.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David Steele 2021-03-10 13:06:16 Re: Change JOIN tutorial to focus more on explicit joins
Previous Message Tom Lane 2021-03-08 21:47:57 Re: make tutorial 13.2