Re: [off-topic] obtaining the user's group - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: [off-topic] obtaining the user's group
Date
Msg-id 4843.1055278804@sss.pgh.pa.us
Whole thread Raw
In response to [off-topic] obtaining the user's group  (miguel angel rojas aquino <mrojas_aquino@mail.flashmail.com>)
Responses Re: [off-topic] obtaining the user's group
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: miguel angel rojas aquino
Date:
Subject: [off-topic] obtaining the user's group
Next
From: miguel angel rojas aquino
Date:
Subject: Re: [off-topic] obtaining the user's group