Re: Orphaned users in PG16 and above can only be managed by Superusers - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Re: Orphaned users in PG16 and above can only be managed by Superusers
Date
Msg-id CAE9k0PmLw57PTVJGhk9bG+tWKhfRQ3fd6erF+wm+PH-UULei6Q@mail.gmail.com
Whole thread Raw
In response to Re: Orphaned users in PG16 and above can only be managed by Superusers  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
Hi,

Attached is the v2 patch with the following updates:

1) Added detailed comments atop check_drop_role_dependency() to
clarify role dependencies, addressing Nathan's comment.

2) Fixed a race condition where the dependency check could pass, but a
new dependency might be added before the role drop is completed,
addressing comments from Nathan and Robert.

3) Improved the error message to display the role dependencies in
detail, addressing feedback from Robert.

Please have a look and let me know for any further comments. Thanks.

--
With Regards,
Ashutosh Sharma.

Attachment

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: per backend WAL statistics
Next
From: Bertrand Drouvot
Date:
Subject: Re: Monitoring gaps in XLogWalRcvWrite() for the WAL receiver