Re: Curious case of the unstoppable user

Поиск
Список
Период
Сортировка
От Vibhor Kumar
Тема Re: Curious case of the unstoppable user
Дата
Msg-id 835B2085-1D2E-4307-A8DC-64BBADA554F7@enterprisedb.com
обсуждение исходный текст
Ответ на Curious case of the unstoppable user  (Thom Brown <thom@linux.com>)
Список pgsql-general
On Mar 30, 2011, at 12:14 AM, Thom Brown wrote:

> postgres=# CREATE ROLE testrole;
> CREATE ROLE
> postgres=# REVOKE ALL ON DATABASE testdb FROM testrole CASCADE;
> REVOKE
> postgres=# \c testdb testrole
> FATAL:  role "testrole" is not permitted to log in
> Previous connection kept


You have created role and trying to login as role. Create user and then try.

USER=ROLE+Login Privilege.

Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor.kumar@enterprisedb.com
Blog:http://vibhork.blogspot.com


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Curious case of the unstoppable user
Следующее
От: Vibhor Kumar
Дата:
Сообщение: Re: OSX Postgres PL/Perl Problem with Finance::Quote/Options