Re: Group does not exist. - Mailing list pgsql-novice

From Bruce Momjian
Subject Re: Group does not exist.
Date
Msg-id 200309251725.h8PHPFl21681@candle.pha.pa.us
Whole thread Raw
In response to Group does not exist.  ("Bob Jarman" <rjarman@knology.net>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-novice by date:

Previous
From: "Bob Jarman"
Date:
Subject: Group does not exist.
Next
From: Stephan Szabo
Date:
Subject: Re: Difficult select statement