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-WzmRkEP7Koa4CEpaaqgB089PVvNsBhM2ssyiniPsBLm-yw@mail.gmail.com
Whole thread Raw
In response to Re: The unused_oids script should have a reminder to use the 8000-8999 OID range  (Tom Lane <tgl@sss.pgh.pa.us>)
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 Fri, Aug 2, 2019 at 3:19 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The "if ($oid > $prev_oid + 2)" test seems unnecessary.
> It's certainly wrong to keep iterating beyond the first
> oid that's > $suggestion.

Sorry. That was just carelessness on my part. (Being the world's worst
Perl programmer is no excuse.)

How about the attached? I've simply removed the "if ($oid > $prev_oid
+ 2)" test.

-- 
Peter Geoghegan

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jsonb_plperl bug
Next
From: Andres Freund
Date:
Subject: Re: tableam vs. TOAST