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

From miguel angel rojas aquino
Subject Re: [off-topic] obtaining the user's group
Date
Msg-id 3EE65D7F.7020108@mail.flashmail.com
Whole thread Raw
In response to Re: [off-topic] obtaining the user's group  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
Tom Lane wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

so, there is no easy way to get this one, right?

i was trying to get the user group so my app could determine the options
that would be showed to the user, but maybe i'll need to implement my
own user/groups tables, right?

as always, thanks a lot for your help, and best whishes


pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: [off-topic] obtaining the user's group
Next
From: Thomas Kellerer
Date:
Subject: Re: Official JDBC driver release ?