Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wEohF-004RNx-1z for pgsql-general@arkaria.postgresql.org; Mon, 20 Apr 2026 13:29:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wEohE-002f3w-2G for pgsql-general@arkaria.postgresql.org; Mon, 20 Apr 2026 13:29:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wEohE-002f3o-1B for pgsql-general@lists.postgresql.org; Mon, 20 Apr 2026 13:29:52 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wEohB-000000028Uf-3AI8 for pgsql-general@postgresql.org; Mon, 20 Apr 2026 13:29:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 63KDTcq2195465; Mon, 20 Apr 2026 09:29:38 -0400 From: Tom Lane To: Dominique Devienne cc: pgsql-general@postgresql.org Subject: Re: Test cluster with high OIDs above the signed-int limit (2B+) In-reply-to: References: Comments: In-reply-to Dominique Devienne message dated "Mon, 20 Apr 2026 11:44:46 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <195463.1776691778.1@sss.pgh.pa.us> Date: Mon, 20 Apr 2026 09:29:38 -0400 Message-ID: <195464.1776691778@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dominique Devienne writes: > 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? See pg_resetwal --next-oid. Don't recall what else you need to say to avoid breaking the cluster in other ways. regards, tom lane