Re: pg_tablespace_size()

From: Dave Page <dpage(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_tablespace_size()
Date: 2007-10-12 15:09:46
Message-ID: 470F8E3A.2080908@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Dave Page <dpage(at)postgresql(dot)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.

In the message I quoted at the end of the long discussion on the topic
you assured me it would work for superusers.

Is there any reason the superuser shouldn't see the size of pg_global?

Regards, Dave.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2007-10-12 15:16:14 Re: pg_restore oddity?
Previous Message Bruce Momjian 2007-10-12 15:08:19 Re: pg_tablespace_size()