pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-docs@lists.postgresql.org
Subject: Release notes on "reserved OIDs"
Date: Fri, 30 Aug 2019 10:40:57 -0400
Message-ID: <19086.1567176057@sss.pgh.pa.us> (raw)

I happened across this bit in the v12 release notes:

     <listitem>
<!--
Author: Andres Freund <andres@anarazel.de>
2018-12-13 [09568ec3d] Create a separate oid range for oids assigned by genbki.
-->

      <para>
       Reserve a range of OIDs (9000-9999) to be used for external
       extensions (Andres Freund)
      </para>
     </listitem>

This seems more or less completely misleading.  There is no project policy
saying that we won't ever use those OIDs.  Moreover, in view of a6417078c
(which you don't seem to have documented at all), what we really ought to
be saying is that new patches ought to be using OIDs in 8000-9999 with the
expectation that those will get renumbered later.

That does have the effect that shipped releases probably won't use those
OIDs anytime in the near future ... but there's a lot of daylight between
that and giving a promise that we won't ever use them period.  In
particular, I could see somebody citing this text as a reason to complain
that "my extension isn't working with v15devel because commit NNNN used
some random OIDs above 9K".

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <19086.1567176057@sss.pgh.pa.us>
Permalink:  ../19086.1567176057@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19086.1567176057@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, pgsql-docs@lists.postgresql.org
  Subject: Re: Release notes on "reserved OIDs"
  In-Reply-To: <19086.1567176057@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox