Add regression coverage for REVOKE ADMIN OPTION

Mark Dilger <mark.dilger@enterprisedb.com>

From: Mark Dilger <mark.dilger@enterprisedb.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-11-15T23:58:34Z
Lists: pgsql-hackers

Attachments

Hackers,

While working on a fix for dangling references to dropped roles in the pg_auth_members.grantor field, I happened to notice we entirely lack regression test coverage of the REVOKE ADMIN OPTION FOR form of the RevokeRoleStmt.  I am unaware of any bugs in the current implementation, but future work on roles may benefit if we close the testing gap.

For consideration:

Commits

  1. Add test for REVOKE ADMIN OPTION