neerajmr12219@xxxxxxxxx wrote:bryn@xxxxxxxxxxxx wrote: Ah… there's obviously something I don't understand here. I've never used "grant connect on database"—and not experience an ensuing problem. I just tried this: \c postgres postgres create user joe login password 'joe'; revoke connect on database postgres from joe; \c postgres joe It all ran without error. (I've turned off the password challenge in my MacBook PG cluster.) I don't have a mental model that accommodates this. And a quick skim for this variant in the "GRANT" section of the PG doc didn't (immediately) help me. I obviously need to do more study. I'll shut up until I have. |