miguel angel rojas aquino <mrojas_aquino@mail.flashmail.com> writes:
> hi, i'm looking for the way to obtain the group to which belongs a
> database user, something like "SELECT USER" to obtain the current user
> name but for the group.
Uh, this doesn't seem well-defined. A user could belong to many groups,
or none.
regards, tom lane