Re: pg_tablespace_size()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_tablespace_size()
Дата
Msg-id 200710121508.l9CF8Ja23657@momjian.us
обсуждение исходный текст
Ответ на Re: pg_tablespace_size()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Dave Page <dpage@postgresql.org> writes:
> > select pg_tablespace_size('pg_global');
> > ERROR:  permission denied for tablespace pg_global
> 
> > Can this be fixed please?
> 
> What's to be fixed?  That's exactly the result I'd expect given the
> previously-agreed-to behavior for pg_tablespace_size.

I know we said tablespace requires CREATE privs, but certainly the
super-user should be able to use the function too.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: First steps with 8.3 and autovacuum launcher
Следующее
От: Dave Page
Дата:
Сообщение: Re: pg_tablespace_size()