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

From Peter Geoghegan
Subject Re: The unused_oids script should have a reminder to use the8000-8999 OID range
Date
Msg-id CAH2-Wzm8svpgFE4bXSmnvoZhL4O+rDH5u3KjOzV75z=c=L5kjA@mail.gmail.com
Whole thread Raw
In response to Re: The unused_oids script should have a reminder to use the8000-8999 OID range  (Michael Paquier <michael@paquier.xyz>)
Responses Re: The unused_oids script should have a reminder to use the 8000-8999 OID range  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg can create duplicated index without any errors even warnning
Next
From: Thomas Munro
Date:
Subject: Re: Remove HeapTuple and Buffer dependency for predicate locking functions