Re: Strange Grant behavior in postgres 8.3 - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Strange Grant behavior in postgres 8.3
Date
Msg-id D960CB61B694CF459DCFB4B0128514C20313E100@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: Strange Grant behavior in postgres 8.3  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
John R Pierce wrote:
> that is correct.  DATABASE privileges relate to connecting to the 
> database, permissions to create objects and so forth.

To be precise, there are 3 privileges:
- create temporary tables
- connect to the database
- create schemata

To be allowed to create a table, you need the create privilege
on the containing schema.

To be allowed to select from a table, you also need the usage
privilege on the schema containing the object.

You have all privileges on an object you own.

I guess that should clarify the behaviour in the original question.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Schwaighofer Clemens
Date:
Subject: Re: Strange Grant behavior in postgres 8.3
Next
From: Scott Marlowe
Date:
Subject: Re: Strange Grant behavior in postgres 8.3