Greetings, * Paul Förster (paul.foerster@xxxxxxxxx) wrote: > I create a role "test" and it can't (intentionally) login. But why does has_database_privilege() return true if "test" can't connect to the cluster and can't use any database? Is this a bug or am I doing something strange here? Any ideas? The role attribute system (where you see 'cannot login') is largely independent from the GRANT system (which is what has_database_privilege is checking). Both are required for a user to log in. Thanks, Stephen
Attachment:
signature.asc
Description: PGP signature