Re: Postgresql security checks

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Postgresql security checks
Дата
Msg-id AANLkTi=u6M2a7bn8sO0ZtqUZ0rj_P8Urx=ei3K9nGZ5j@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql security checks  (Thom Brown <thom@linux.com>)
Список pgsql-novice
On Wed, Sep 1, 2010 at 11:32 AM, Thom Brown <thom@linux.com> wrote:
> Yes, I had discovered this previously but obviously I've got a memory
> leak.  Actually, doesn't this apply to roles too?

Yeah, pg_shadow is just a view on top of pg_authid, declared as:

 SELECT ...
   FROM pg_authid
   WHERE pg_authid.rolcanlogin;

So I think either query would work, with pg_shadow only showing you
roles which have login enabled.

Josh

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Postgresql security checks
Следующее
От: "Turner, John J"
Дата:
Сообщение: Installing temporal "period" data type and support functions