Re: GRANT CONNECT ON DATABASE - Mailing list pgsql-admin

From David G. Johnston
Subject Re: GRANT CONNECT ON DATABASE
Date
Msg-id CAKFQuwbSGBY6LMe_e-MS92aK2B9r2KAO=Xd01Yad+KzK=Q-pew@mail.gmail.com
Whole thread Raw
In response to Re: GRANT CONNECT ON DATABASE  (Edwin UY <edwin.uy@gmail.com>)
List pgsql-admin
On Sunday, June 9, 2024, Edwin UY <edwin.uy@gmail.com> wrote:
Thanks. Yeah, the ALTER fixed it.
I thought the CONNECT should have done the same thing.
Is the GRANT CONNECT not necessary then?

The grant is database scoped.  Login is cluster-scoped.

To log into a database requires both levels of permission.

David J.
 

pgsql-admin by date:

Previous
From: Edwin UY
Date:
Subject: Re: GRANT CONNECT ON DATABASE
Next
From: soroush jurat
Date:
Subject: Re: GRANT CONNECT ON DATABASE