From: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> |
---|---|
To: | "Milen A(dot) Radev" <milen(at)radev(dot)net>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: schema privilege question |
Date: | 2007-11-03 00:29:40 |
Message-ID: | FE44E0D7EAD2ED4BB2165071DB8E328C03062D61@egcrc-ex01.egcrc.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Many thanks, Milen.
Tena
-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org on behalf of Milen A. Radev
Sent: Fri 11/2/2007 5:18 PM
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] schema privilege question
Tena Sakai ??????:
> Hi everybody,
>
> I just created a new schema. Like this:
>
> create schema newschema authorization foo;
>
> Now I want to 3 other uses besides foo to be
> able to create and drop tables/views/etc.
> What I want to do would be something like:
>
> grant create on newschema to x, y, z;
>
> But it disagrees with me as to:
> ERROR: relation "newschema" does not exist
>
> How can I do what I want to do?
Add "schema" to the statement (it's mandatory -
http://www.postgresql.org/docs/current/static/sql-grant.html)
grant create on SCHEMA newschema to x, y, z;
--
Milen A. Radev
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Testart | 2007-11-03 04:35:16 | RPATH issue with libpq on Solaris 8 (gcc) |
Previous Message | Milen A. Radev | 2007-11-03 00:18:48 | Re: schema privilege question |