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

Поиск
Список
Период
Сортировка
От PostgreSQL Bugs List
Тема BUG #1222: database owner should have implicit control over public db schema
Дата
Msg-id 20040817184313.96D365A118B@www.postgresql.com
обсуждение исходный текст
Ответы Re: BUG #1222: database owner should have implicit control over public db schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1222
Logged by:          radim kolar

Email address:      hsn@netmag.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=>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1221: revoke on schema do not return error on failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1221: revoke on schema do not return error on failure