Re: Test cluster with high OIDs above the signed-int limit (2B+)
Dominique Devienne <ddevienne@gmail.com>
From: Dominique Devienne <ddevienne@gmail.com>
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Date: 2026-04-20T13:30:53Z
Lists: pgsql-general
On Mon, Apr 20, 2026 at 3:23 PM Ron Johnson <ronljohnsonjr@gmail.com> wrote: > It's an unsigned integer, so I'd say not use signed ints when processing OIDs. Well duh, that's why it's a bug. But it's a sneaky bug, because clusters rarely enter that high-OID territory. That's precisely why I'd like a way to provoke it. > It's a valid question, though, what happens when the OID counter wraps around and hits a duplicate. Again, I'm NOT interested in OID wrap-around. But the "second-half" of the OID space.