pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Transaction ID modulo
2+ messages / 2 participants
[nested] [flat]

* Transaction ID modulo
@ 2021-02-18 13:54  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2021-02-18 13:54 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: hemarbruno@gmail.com

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"


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Transaction ID modulo
@ 2021-03-09 19:00  Bruce Momjian <bruce@momjian.us>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2021-03-09 19:00 UTC (permalink / raw)
  To: hemarbruno@gmail.com; pgsql-docs@lists.postgresql.org

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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-03-09 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 13:54 Transaction ID modulo PG Doc comments form <noreply@postgresql.org>
2021-03-09 19:00 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox