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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: The unused_oids script should have a reminder to use the 8000-8999 OID range
Дата
Msg-id 31898.1565070078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: The unused_oids script should have a reminder to use the8000-8999 OID 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
Peter Geoghegan <pg@bowt.ie> writes:
> On Mon, Aug 5, 2019 at 8:47 PM Michael Paquier <michael@paquier.xyz> wrote:
>> Wouldn't it be better to keep some room at the end of the allowed
>> array?  Or at least avoid suggesting ranges where there is less than
>> 3-5 OIDs available consecutively.

> Not in my view. There is value in having simple, predictable behavior.

There was some discussion of that upthread, and Peter argued that many
patches only need one OID anyway so why try harder.  I'm not totally
sure I buy that --- my sense is that even simple patches tend to add
several related functions not just one.  But as long as the script
tells you how many OIDs are available, what's the problem?  Just run
it again if you want a different suggestion, or make your own choice.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg can create duplicated index without any errors even warnning
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions