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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: miguel angel rojas aquino <mrojas_aquino(at)mail(dot)flashmail(dot)com>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [off-topic] obtaining the user's group
Date: 2003-06-10 21:00:04
Message-ID: 4843.1055278804@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message miguel angel rojas aquino 2003-06-10 22:36:47 Re: [off-topic] obtaining the user's group
Previous Message miguel angel rojas aquino 2003-06-10 20:29:09 [off-topic] obtaining the user's group