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

From: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: The unused_oids script should have a reminder to use the 8000-8999 OID range
Date: 2019-08-02 21:52:31
Message-ID: CAMsGm5ev43qpAgS++7C6nfzr2se2X9YPt=ATVUW878=SgHZLjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2 Aug 2019 at 16:49, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Peter Geoghegan <pg(at)bowt(dot)ie> writes:
> > 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
>

Noob question here: why not start with the next unused OID in the range,
and on the other hand reserve the range for sequentially-assigned values?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2019-08-02 22:00:18 Re: The unused_oids script should have a reminder to use the 8000-8999 OID range
Previous Message Peter Geoghegan 2019-08-02 21:50:42 Re: The unused_oids script should have a reminder to use the 8000-8999 OID range