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

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, 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 08:42:42
Message-ID: CAOBaU_YqC1ezkNeLuUY4hW4+Ggd0yiuaEyFtR=81ewrn0Ufv1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 2, 2019 at 6:21 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Thu, Aug 01, 2019 at 06:59:06PM -0700, Peter Geoghegan wrote:
> > Seems like I should propose a patch this time around. I don't do Perl,
> > but I suppose I could manage something as trivial as this.
>
> Well, that new project policy is not that well-advertised then, see
> for example the recent 5925e55, c085e1c and 313f87a. So having some
> kind of safety net would be nice.

Trivial patch for that attached. The output is now like:

[...]
Using an oid in the 8000-9999 range is recommended.
For instance: 9427

(checking that the suggested random oid is not used yet.)

Attachment Content-Type Size
suggest_unused_oid.diff application/octet-stream 507 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2019-08-02 08:54:35 Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
Previous Message Fabien COELHO 2019-08-02 08:34:24 Re: pgbench - implement strict TPC-B benchmark