Re: Curious case of the unstoppable user

Поиск
Список
Период
Сортировка
Искать
От
Adrian Klaver
Тема
Re: Curious case of the unstoppable user
Дата
Msg-id
4D92463E.6070501@gmail.com
Ответ на
Список
Дерево обсуждения
Curious case of the unstoppable user Thom Brown <thom@linux.com>
Re: Curious case of the unstoppable user hubert depesz lubaczewski <depesz@depesz.com>
Re: Curious case of the unstoppable user Thom Brown <thom@linux.com>
Re: Curious case of the unstoppable user Adrian Klaver <adrian.klaver@gmail.com>
Re: Curious case of the unstoppable user Thom Brown <thom@linux.com>
Re: Curious case of the unstoppable user Raymond O'Donnell <rod@iol.ie>
Re: Curious case of the unstoppable user Thom Brown <thom@linux.com>
Re: Curious case of the unstoppable user Steve Crawford <scrawford@pinpointresearch.com>
Re: Curious case of the unstoppable user Guillaume Lelarge <guillaume@lelarge.info>
Re: Curious case of the unstoppable user Thom Brown <thom@linux.com>
Re: Curious case of the unstoppable user Guillaume Lelarge <guillaume@lelarge.info>
Re: Curious case of the unstoppable user Vibhor Kumar <vibhor.kumar@enterprisedb.com>
On 03/29/2011 01:32 PM, Thom Brown wrote:
> On 29 March 2011 21:28, hubert depesz lubaczewski  wrote:
>> On Tue, Mar 29, 2011 at 07:44:51PM +0100, Thom Brown wrote:
>>> So, I'm overlooking something.  Could someone tell me what it is?  I
>>> bet it's something obvious.  I'm using 9.1dev if it's relevant.
>>
>> perhaps meow is superuser?
>
> stuff=>  \dg+
>                                      List of roles
>   Role name |                   Attributes                   | Member
> of | Description
> -----------+------------------------------------------------+-----------+-------------
>   meow      |                                                | {}        |
>   testrole  | Cannot login                                   | {}        |
>   thom      | Superuser, Create role, Create DB, Replication | {}        |
>

My guess is you have pg_hba.conf set up to use trust for the connection. 
In your original example testrole failed because it is not a login role 
not for permissions reasons. When \c to stuff as meow can you do \d?

-- 
Adrian Klaver
adrian.klaver@gmail.com
В списке pgsql-general по дате отправления
От: Thom Brown
Дата:
От: Worgan, Craig (Craig)
Дата:
Сообщение: RPM for ODBC driver
FAQ