Re: Groups and Users - Mailing list pgsql-novice

From A.Bhuvaneswaran
Subject Re: Groups and Users
Date
Msg-id Pine.LNX.4.44.0307081003480.1198-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to Groups and Users  (Brad Rhine <rhino@etown.k12.pa.us>)
List pgsql-novice
> Given a username, how do I find out which groups that user is a member
> of? I'm sure I'm missing something obvious.

IMO, there is no straight method, but you can get it using a plpgsql
function. But the list of users belonging to a group can be found in
pg_group table. The userids are stored in an array.

regards,
bhuvaneswaran


pgsql-novice by date:

Previous
From: "Daniel Phlander"
Date:
Subject: UNSUBSCRIBE
Next
From: "Herbie McDuck"
Date:
Subject: OK..time for STUPID to say somthing