grant connect on database

Поиск
Список
Период
Сортировка
От spur230
Тема grant connect on database
Дата
Msg-id 1450285513809-5877872.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: grant connect on database  (Jerry Sievers <gsievers19@comcast.net>)
Список pgsql-general
I am using Postgres 9.4.  I created a login role and gave  select to all
tables to a schema as follows:


create role fix;
create role dcv login password 'mypassword' in role fix;
grant select on all tables on schema xzy to dcv';

I  was able to   connect to the database without giving 'grant connect on
database db1 to dcv'

My question is when do I have to explicitly  give connect grant? How did
user dcv  connect to database without the  connect  privilege?

Thanks



--
View this message in context: http://postgresql.nabble.com/grant-connect-on-database-tp5877872.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: Alan Hodgson
Дата:
Сообщение: Re: Does PostgreSQL support to write glusterfs by Libgfapi
Следующее
От: Jerry Sievers
Дата:
Сообщение: Re: grant connect on database