Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDR7z-0001vh-Pa for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jul 2022 13:49:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDR70-0000HD-Hj for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jul 2022 13:48:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDR70-0000Gs-8v for pgsql-hackers@lists.postgresql.org; Mon, 18 Jul 2022 13:48:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDR6x-0000JS-OF for pgsql-hackers@lists.postgresql.org; Mon, 18 Jul 2022 13:48:37 +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 26IDmGxK687492; Mon, 18 Jul 2022 09:48:16 -0400 From: Tom Lane To: John Naylor cc: Martin Kalcher , Thomas Munro , PostgreSQL Hackers Subject: Re: Proposal to introduce a shuffle function to intarray extension In-reply-to: References: <9d160a44-7675-51e8-60cf-6d64b76db831@aboutsource.net> <4073858.1658027909@sss.pgh.pa.us> <4077925.1658029046@sss.pgh.pa.us> <5ef15c6f-e108-53af-3d82-587fac394f1a@aboutsource.net> <463181.1658097987@sss.pgh.pa.us> <5b7a1ee9-f942-2502-3a0c-e9fc12511139@aboutsource.net> <469954.1658100033@sss.pgh.pa.us> Comments: In-reply-to John Naylor message dated "Mon, 18 Jul 2022 15:18:44 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <687489.1658152096.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Jul 2022 09:48:16 -0400 Message-ID: <687490.1658152096@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk John Naylor writes: > On Mon, Jul 18, 2022 at 2:47 PM Martin Kalcher < > martin.kalcher@aboutsource.net> wrote: >> One more question. How do i pick a Oid for the functions? > For this, we recommend running src/include/catalog/unused_oids, and it w= ill > give you a random range to pick from. That reduces the chance of differe= nt > patches conflicting with each other. It doesn't really matter what the o= id > here is, since at feature freeze a committer will change them anyway. If you want the nitty gritty details here, see https://www.postgresql.org/docs/devel/system-catalog-initial-data.html#SYS= TEM-CATALOG-OID-ASSIGNMENT regards, tom lane