pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove direct call to GetNewObjectId() for pg_auth_members.oid
Date
Msg-id E1p4WH7-0036Ll-Dz@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Convert domain_in to report errors softly.
Next
From: Michael Paquier
Date:
Subject: pgsql: Add support for GRANT SET in psql tab completion