mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix ancient docs/comments thinko: XID comparison is mod 2^32, not 2^31.
Pointed out by Gianni Ciolli.
This commit is contained in:
@ -356,7 +356,7 @@
|
||||
<productname>PostgreSQL</productname> distinguishes a special XID
|
||||
<literal>FrozenXID</>. This XID is always considered older
|
||||
than every normal XID. Normal XIDs are
|
||||
compared using modulo-2<superscript>31</> arithmetic. This means
|
||||
compared using modulo-2<superscript>32</> arithmetic. This means
|
||||
that for every normal XID, there are two billion XIDs that are
|
||||
<quote>older</> and two billion that are <quote>newer</>; another
|
||||
way to say it is that the normal XID space is circular with no
|
||||
|
Reference in New Issue
Block a user