BUG #1222: database owner should have implicit control over public db schema

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1222: database owner should have implicit control over public db schema
Date: 2004-08-17 18:43:13
Message-ID: 20040817184313.96D365A118B@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1222
Logged by: radim kolar

Email address: hsn(at)netmag(dot)cz

PostgreSQL version: 7.4.1

Operating system: freebsd

Description: database owner should have implicit control over public
db schema

Details:

Problem 2

Database owner should have implicit control over public schema
and over all objects in his database as well.

dbmail=> \l
List of databases
Name | Owner | Encoding
------------+-----------+-----------
dbmail | dbmail | SQL_ASCII
template0 | pgsql | SQL_ASCII
template1 | pgsql | SQL_ASCII
dbmail=> SELECT current_user;
current_user
--------------
dbmail
(1 row)
dbmail=> GRANT CREATE on SCHEMA public to public;
ERROR: permission denied for schema public
dbmail=>

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-17 18:59:39 Re: BUG #1221: revoke on schema do not return error on failure
Previous Message PostgreSQL Bugs List 2004-08-17 18:40:40 BUG #1221: revoke on schema do not return error on failure