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

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

From
Michael Paquier
Date:
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(-)