Re: Proposal to introduce a shuffle function to intarray extension

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Martin Kalcher <martin(dot)kalcher(at)aboutsource(dot)net>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Proposal to introduce a shuffle function to intarray extension
Date: 2022-07-18 13:48:16
Message-ID: 687490.1658152096@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

John Naylor <john(dot)naylor(at)enterprisedb(dot)com> writes:
> On Mon, Jul 18, 2022 at 2:47 PM Martin Kalcher <
> martin(dot)kalcher(at)aboutsource(dot)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 will
> give you a random range to pick from. That reduces the chance of different
> patches conflicting with each other. It doesn't really matter what the oid
> 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#SYSTEM-CATALOG-OID-ASSIGNMENT

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aleš Zelený 2022-07-18 14:05:25 Re: PostgreSQL 14.4 ERROR: out of memory issues
Previous Message Ron 2022-07-18 13:42:29 Re: More than one Cluster on single server (single instance)

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2022-07-18 14:04:47 Re: Use fadvise in wal replay
Previous Message Pavel Stehule 2022-07-18 13:24:02 limits of max, min optimization