Skip site navigation (1) Skip section navigation (2)

Re: Curious case of the unstoppable user

From: Vibhor Kumar <vibhor(dot)kumar(at)enterprisedb(dot)com>
To: Thom Brown <thom(at)linux(dot)com>
Cc: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Curious case of the unstoppable user
Date: 2011-03-29 21:29:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On Mar 30, 2011, at 12:14 AM, Thom Brown wrote:

> postgres=# CREATE ROLE testrole;
> postgres=# REVOKE ALL ON DATABASE testdb FROM testrole CASCADE;
> 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

In response to

pgsql-general by date

Next:From: Vibhor KumarDate: 2011-03-29 21:31:29
Subject: Re: OSX Postgres PL/Perl Problem with Finance::Quote/Options
Previous:From: Guillaume LelargeDate: 2011-03-29 21:27:11
Subject: Re: Curious case of the unstoppable user

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group