pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid
Date: Mon, 12 Dec 2022 00:02:30 +0000
Message-ID: <E1p4WH7-0036Ll-Dz@gemulon.postgresql.org> (raw)

Remove direct call to GetNewObjectId() for pg_auth_members.oid

This routine should not be called directly as mentioned at its top, so
replace it by GetNewOidWithIndex().  Issue introduced by 6566133 when
pg_auth_members.oid got added, so no backpatch is needed.

Author: Maciek Sakrejda
Discussion: https://postgr.es/m/CAOtHd0Ckbih7Ur7XeVyLAJ26VZOfTNcq9qV403bNF4uTGtAN+Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eae7fe485998ac493a3d9dadf254a89c9265891e

Modified Files
--------------
src/backend/commands/user.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1p4WH7-0036Ll-Dz@gemulon.postgresql.org>
Permalink:  ../E1p4WH7-0036Ll-Dz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p4WH7-0036Ll-Dz@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid
  In-Reply-To: <E1p4WH7-0036Ll-Dz@gemulon.postgresql.org>
  References: <E1p4WH7-0036Ll-Dz@gemulon.postgresql.org>

* 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