Re: Adding group role to a user - Mailing list pgsql-admin

From Korry Douglas
Subject Re: Adding group role to a user
Date
Msg-id 560C1AC5.7040401@enterprisedb.com
Whole thread Raw
In response to Adding group role to a user  (John Scalia <jayknowsunix@gmail.com>)
Responses Re: Adding group role to a user  (John Scalia <jayknowsunix@gmail.com>)
List pgsql-admin
ALTER GROUP "schema-rw" ADD USER someuser.


                 -- Korry

> Someone here in their infinite wisdom decided that all our group names
> would contain a "-". Thus, all the groups look like "schema-ro" or
> "schema-rw", My problem is that neither a "grant <group-name> to
> <user>;" nor a "alter group <group-name> add user <user>" will work
> properly as the command interpreter doesn't like the group name having
> a "-" in it.
>
> So, I'm looking for a work-around up to and including directly
> altering the pg_auth table. Any ideas?
> --
> Jay



pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Adding group role to a user
Next
From: John Scalia
Date:
Subject: Re: Adding group role to a user