Groups

Поиск
Список
Период
Сортировка
От Kurt
Тема Groups
Дата
Msg-id 1055812266.7666.11.camel@kschwarz.amoserve.net
обсуждение исходный текст
Ответы Re: Groups  (Joe Conway <mail@joeconway.com>)
Список pgsql-general
I'm trying to extract all the groups to which a user belongs from
pg_group.

Being that arrays are not my forte, I'm getting frustrated trying to get
it to work.  It seems that I can extract the proper group if the user
happens to be in a certain position in the array, but if that person is
not, it will not show up in the query.

Where am I going wrong?  How do I find all the groups to which a user
belongs no matter the number of users in any particular group?

Hope this makes sense.

            -=Kurt=-


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: order of nested loop
Следующее
От: Bruce Momjian
Дата:
Сообщение: MIT Open Source Conference