Re: [off-topic] obtaining the user's group

From: miguel angel rojas aquino <mrojas_aquino(at)mail(dot)flashmail(dot)com>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [off-topic] obtaining the user's group
Date: 2003-06-10 22:36:47
Message-ID: 3EE65D7F.7020108@mail.flashmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Tom Lane wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Kellerer 2003-06-11 07:18:57 Re: Official JDBC driver release ?
Previous Message Tom Lane 2003-06-10 21:00:04 Re: [off-topic] obtaining the user's group