is a user in a group?

Поиск
Список
Период
Сортировка
От Jacopo Silva
Тема is a user in a group?
Дата
Msg-id 002e01c04b22$89e177c0$3d01a8c0@sede.lynxtesoft.it
обсуждение исходный текст
Ответы Re: is a user in a group?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
I need to find out a quick way to check which groups a user
is member of.

In the pg_group table each group row has an array of
userids of the members of the group.
At the moment I am selecting all the rows than
searching in each array for the id of the user
I am looking for.

There should be something more elegant than this!!!
There should be a system table which I can use to find
the relation between user and groups.

I would be very grateful to anyone who can help me:-).

Bye,
Jacopo





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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Implementing mod_perl, Perl 5.004, and Postgres
Следующее
От: Charlie Crissman
Дата:
Сообщение: Does Postgres support Unicode (multibyte char set), NLS type func tionality...?