Re: The unused_oids script should have a reminder to use the8000-8999 OID range

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: The unused_oids script should have a reminder to use the8000-8999 OID range
Дата
Msg-id CAH2-WznHrXoEN8qp57gTLQEtDao-xCr_ZXP7-Sqyr315rW4ZvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: The unused_oids script should have a reminder to use the8000-8999 OID range  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: The unused_oids script should have a reminder to use the8000-8999 OID range  (Julien Rouhaud <rjuju123@gmail.com>)
Re: The unused_oids script should have a reminder to use the 8000-8999 OID range  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Aug 2, 2019 at 1:42 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
> Trivial patch for that attached.

Thanks!

> The output is now like:
>
> [...]
> Using an oid in the 8000-9999 range is recommended.
> For instance: 9427
>
> (checking that the suggested random oid is not used yet.)

I've taken your patch, and changed the wording a bit. I think that
it's worth being a bit more explicit. The attached revision produces
output that looks like this:

Patches should use a more-or-less consecutive range of OIDs.
Best practice is to make a random choice in the range 8000-9999.
Suggested random unused OID: 9099

I would like to push this patch shortly. How do people feel about this
wording? (It's based on the documentation added by commit a6417078.)

-- 
Peter Geoghegan

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: partition routing layering in nodeModifyTable.c
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pglz performance