Re: Test cluster with high OIDs above the signed-int limit (2B+) - Mailing list pgsql-general

From Dominique Devienne
Subject Re: Test cluster with high OIDs above the signed-int limit (2B+)
Date
Msg-id CAFCRh-_8qobQf7MDPFAo0qytSK78W+ugY03JXzbJ5++X+v0HJA@mail.gmail.com
Whole thread
In response to Re: Test cluster with high OIDs above the signed-int limit (2B+)  (Ron Johnson <ronljohnsonjr@gmail.com>)
List 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.



pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Test cluster with high OIDs above the signed-int limit (2B+)
Next
From: Dominique Devienne
Date:
Subject: Re: Test cluster with high OIDs above the signed-int limit (2B+)