Re: schema privilege question

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: schema privilege question
Date: 2007-11-03 00:18:48
Message-ID: fggep7$nt1$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tena Sakai 2007-11-03 00:29:40 Re: schema privilege question
Previous Message Tena Sakai 2007-11-02 22:38:50 schema privilege question