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-Wzm8svpgFE4bXSmnvoZhL4O+rDH5u3KjOzV75z=c=L5kjA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: The unused_oids script should have a reminder to use the8000-8999 OID range  (Michael Paquier <michael@paquier.xyz>)
Ответы 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 Mon, Aug 5, 2019 at 8:47 PM Michael Paquier <michael@paquier.xyz> wrote:
> So it would be possible to get 9998-9999 as suggestion.  In which
> case, one can basically finish with this message:
> Suggested random unused OID: 9999 (1 consecutive OID(s) available
> starting here)

I strongly doubt that this will ever be a real problem. Just try again.

> 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.

-- 
Peter Geoghegan



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg can create duplicated index without any errors even warnning
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Remove HeapTuple and Buffer dependency for predicate locking functions