Re: Group does not exist.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bob Jarman <rjarman(at)knology(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Group does not exist.
Date: 2003-09-25 17:25:15
Message-ID: 200309251725.h8PHPFl21681@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


I have already answered the author with the fix:

grant select on employee to group testgroup;

---------------------------------------------------------------------------

Bob Jarman wrote:
> Hello all,
>
> I'm trying to grant select privileges to members of a group.
> I created the group (testgroup), added users, and when I
>
> grant select on employee to testgroup;
>
> in psql "ERROR Group testgroup does not exist" is returned.
>
> I've tried this in Xpg, the psql command line, and using DBVisualizer, all
> with identical results.
> The group is listed in pg_group along with the IDs of the users I wanted
> assigned to the group.
> I was able to grant the privileges by iterating through the individual
> users.
>
> Any help is appreciated.
> Bob
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Stephan Szabo 2003-09-25 17:29:42 Re: Difficult select statement
Previous Message Juan Francisco Diaz 2003-09-25 15:55:24 Function return type does not match