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=-