Test cluster with high OIDs above the signed-int limit (2B+)

From: Dominique Devienne <ddevienne(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Test cluster with high OIDs above the signed-int limit (2B+)
Date: 2026-04-20 09:44:46
Message-ID: CAFCRh--J4F0hFm_+x4rwW5eLEZnz_fNcp05Q1whO4YoKnQgJpg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi. A few weeks ago, one of our clusters, with high DDL churn from
UTs, crossed the 2B mark for OIDs, which exposed a bug in our code.
I'm moving into creating clusters on-the-fly for testing, and would
like to force that situation to avoid a future silent regression,
since it takes a long time to cross that threshold, and we do move up
in major versions, so the over-the-threshold cluster will be
abandoned. How can I achieve that? A quick AI query yielded nothing,
but this is unusual enough that there's little to no material to have
good answers. Can PostgreSQL experts/hackers weigh in on this please?
If not possible now, can this be supported in the future please? --DD

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2026-04-20 12:44:37 Re: Test cluster with high OIDs above the signed-int limit (2B+)
Previous Message Peter J. Holzer 2026-04-20 05:53:52 Re: List of encodings