| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: permission denied for database control |
| Дата | |
| Msg-id | 26814.1399472007@sss.pgh.pa.us обсуждение |
| Ответ на | Re: ERROR: permission denied for database control (Albe Laurenz <laurenz.albe@wien.gv.at>) |
| Ответы |
Re: ERROR: permission denied for database control
|
| Список | pgsql-general |
Albe Laurenz <laurenz.albe@wien.gv.at> writes:
> Suya Huang wrote:
>> --fails if try to get all db size in one sql
>> postgres=> SELECT current_date,pg_database_size(pg_database.datname) from pg_database;
>> ERROR: permission denied for database control
> It seems like you have a database called "control" for which user "test"
> has no connect privilege.
Yeah, this failure is unsurprising. But it looks like we forgot to
document the restriction :-(. I see a mention of it in the 8.3 release
notes, but there's nothing in the documentation of the functions
themselves. Will fix.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера