Re: Proposal to introduce a shuffle function to intarray extension

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal to introduce a shuffle function to intarray extension
Дата
Msg-id 687490.1658152096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal to introduce a shuffle function to intarray extension  (John Naylor <john.naylor@enterprisedb.com>)
Ответы [PATCH] Introduce array_shuffle() and array_sample()  (Martin Kalcher <martin.kalcher@aboutsource.net>)
Список pgsql-hackers
John Naylor <john.naylor@enterprisedb.com> 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 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: limits of max, min optimization
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: Use fadvise in wal replay