Re: Grant ALL on schema

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Hemapriya <priyam_1121(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Grant ALL on schema
Date: 2005-03-11 14:55:54
Message-ID: 20050311145554.GB29934@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On Thu, Mar 10, 2005 at 09:01:21 -0800,
Hemapriya <priyam_1121(at)yahoo(dot)com> wrote:
> Hi,
>
> Can anybody know how the following statement work.
>
> Grant ALL on SCHEMA test to user 'user1';
>
> will the user be able to have all the privileges on
> all the objects/tables on schema test? Or he can only
> create new objects in that schema.

That will grant CREATE and USAGE access to the schema, so that the user
will be able to look up objects in the schema and create new objects
in the schema. It won't change the access rights associated with objects
in the schema.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gregor Schon 2005-03-11 15:17:15 Restoring a Dump with psql on Windows Fails - Password Cannot Be Entered (?)
Previous Message Alex Turner 2005-03-11 14:47:31 Re: IO Timeout

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2005-03-11 15:28:03 Re: Explain Analyze mode
Previous Message Ioannis Theoharis 2005-03-11 14:16:58 Explain Analyze mode