Raj Mathur <raju(at)linux-delhi(dot)org> 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 to usernames ...
regards, tom lane