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

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: The unused_oids script should have a reminder to use the8000-8999 OID range
Дата
Msg-id CAOBaU_YMqHOdpc-g3pTrc2pq_ayQgq9VBmFj3grRysCMQhXNEw@mail.gmail.com
обсуждение исходный текст
Ответ на The unused_oids script should have a reminder to use the 8000-8999OID range  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: The unused_oids script should have a reminder to use the8000-8999 OID range  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On Thu, Aug 1, 2019 at 10:37 PM Peter Geoghegan <pg@bowt.ie> wrote:
>
> I pushed a commit that required a new pg_proc entry today. Had I not
> been involved with the work that became commit a6417078, I would
> definitely not have used an OID from the range reserved for devel
> system catalogs (8000 - 8999). As I understand it, this is now
> standard practice.
>
> Perhaps unsurprisingly, other committers didn't get the memo, and
> haven't been using the special reserved range since its introduction
> in March. I think that this could be avoided by simply making
> unused_oids print a reminder about the new practice.


Huge +1.  Last time I had to pick a new oid it took me ages to find
the correct range for that.  The script could even suggest a random
free oid in the range, for extra laziness as you also suggested in the
almost exact same mail at
CAH2-WzmCzNMebiN4-8p=ON92m0Rz0ybxNEKrO_2J+9DqWfWP=A@mail.gmail.com :)



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Feature improvement: can we add queryId forpg_catalog.pg_stat_activity view?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Tid scan improvements