| From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
|---|---|
| To: | Thom Brown <thom(at)linux(dot)com> |
| Cc: | Machiel Richards <machielr(at)rdc(dot)co(dot)za>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: Postgresql security checks |
| Date: | 2010-09-01 15:49:38 |
| Message-ID: | AANLkTi=u6M2a7bn8sO0ZtqUZ0rj_P8Urx=ei3K9nGZ5j@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Wed, Sep 1, 2010 at 11:32 AM, Thom Brown <thom(at)linux(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Turner, John J | 2010-09-01 20:51:31 | Installing temporal "period" data type and support functions |
| Previous Message | Thom Brown | 2010-09-01 15:32:40 | Re: Postgresql security checks |