Re: Adding group role to a user

From: Korry Douglas <korry(dot)douglas(at)enterprisedb(dot)com>
To: John Scalia <jayknowsunix(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Adding group role to a user
Date: 2015-09-30 17:24:21
Message-ID: 560C1AC5.7040401@enterprisedb.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message John Scalia 2015-09-30 17:42:22 Re: Adding group role to a user
Previous Message John Scalia 2015-09-30 17:21:37 Adding group role to a user