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.94.2) (envelope-from ) id 1uNY7E-004HwM-RS for pgsql-general@arkaria.postgresql.org; Fri, 06 Jun 2025 14:32:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uNY7C-00BUm9-H4 for pgsql-general@arkaria.postgresql.org; Fri, 06 Jun 2025 14:32:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uNY7C-00BUiJ-5n for pgsql-general@lists.postgresql.org; Fri, 06 Jun 2025 14:32:14 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uNY7B-000akA-0d for pgsql-general@lists.postgresql.org; Fri, 06 Jun 2025 14:32:13 +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 556EWBQI1470664; Fri, 6 Jun 2025 10:32:11 -0400 From: Tom Lane To: Arnold Hendriks cc: pgsql-general@lists.postgresql.org Subject: Re: Low OIDs (< 16384) when creating databases in single user mode In-reply-to: References: Comments: In-reply-to Arnold Hendriks message dated "Fri, 06 Jun 2025 11:16:15 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1470662.1749220331.1@sss.pgh.pa.us> Date: Fri, 06 Jun 2025 10:32:11 -0400 Message-ID: <1470663.1749220331@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Arnold Hendriks writes: > Is there a way to ensure new IDs are in the usual range when starting > in in single user mode? No. Start the DB in normal mode, then create objects that you want to be considered user-defined. regards, tom lane