pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid
Date: 2022-12-12 00:02:30
Message-ID: E1p4WH7-0036Ll-Dz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-12-12 07:52:59 pgsql: Add support for GRANT SET in psql tab completion
Previous Message Tom Lane 2022-12-11 18:02:45 pgsql: Convert domain_in to report errors softly.