"David G. Johnston" <[email protected]> writes: > This seems quite misplaced on the -performance mailing list.
Indeed. > On Sat, Apr 11, 2026 at 10:55 AM ikramuddin <[email protected]> > wrote: >> plz guide it is a bug or this behavious left intentionally. > Intentional, every object has its own permissions that are granted to roles > independently of others. Also, "REVOKE CONNECT ON DATABASE finance FROM simon" is probably a no-op, because nobody ever did "GRANT CONNECT ON DATABASE finance TO simon". Rather, the reason simon can connect is that there's a default "GRANT CONNECT ... TO public". If you want to restrict CONNECT privileges, you have to revoke that and then hand out the privilege selectively to users that should have it. regards, tom lane
