miguel angel rojas aquino <mrojas_aquino(at)mail(dot)flashmail(dot)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