[ADMIN] Users and groups

2003-02-28 Thread Teddy
How can i list the users of a group? Thanks. ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [ADMIN] Users and groups

2003-02-14 Thread Raj Mathur
> "Tom" == Tom Lane <[EMAIL PROTECTED]> writes: Tom> Raj Mathur <[EMAIL PROTECTED]> writes: >> ... However, the complementary process, determining all the >> users in group administrators, isn't so clean. Tom> Doesn't select grolist from pg_group where groname = Tom> 'adm

Re: [ADMIN] Users and groups

2003-02-13 Thread Tom Lane
Raj Mathur <[EMAIL PROTECTED]> writes: > ... However, the complementary process, determining > all the users in group administrators, isn't so clean. Doesn't select grolist from pg_group where groname = 'administrators' do it for you? I suppose you might want the thing to map sysids back

[ADMIN] Users and groups

2003-02-13 Thread Raj Mathur
Hi, Using PostgreSQL 7.2.3 on a Linux box and facing some minor issues with determining which groups users belong to. I have created a PgSQL group called `administrators'. Now when I need to check whether user X is a member of that group, I use the contrib/array_iterator operator to do something