final class MembershipChecks
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Checks the grants and revokes of role membership.

Rule: PG-MEMBERSHIP-CHECK-001. Reported, in the words of the server: a column list on a granted role ("column names cannot be included in

  • GRANT/REVOKE ROLE"), a membership option other than admin, inherit and

set ("unrecognized role option"), and PUBLIC as a granted role, a member or the grantor: PUBLIC is not a role, so no membership involves it. Whether a named role exists is never reported: roles are not declarations a context holds. Termination: one pass over finite lists. Source: https://www.postgresql.org/docs/17/sql-grant.html#SQL-GRANT-DESCRIPTION-ROLES, https://www.postgresql.org/docs/17/sql-revoke.html. Status: Implemented.

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 2
Method calls 4