pg_tablespace_size()

From: Dave Page <dpage(at)postgresql(dot)org>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_tablespace_size()
Date: 2007-10-12 11:20:08
Message-ID: 470F5868.7080101@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Following on from Hiroshi's earlier post:
http://archives.postgresql.org/pgsql-hackers/2007-10/msg00324.php

Per http://archives.postgresql.org/pgsql-hackers/2007-08/msg01018.php,
superusers should be able to use pg_tablespace_size() on any tablespace,
however when logged in as postgres on a beta1 server, I get:

-- Executing query:
select pg_tablespace_size('pg_global');

ERROR: permission denied for tablespace pg_global

Can this be fixed please?

Regards, Dave

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-10-12 11:24:34 Locales and Encodings
Previous Message Simon Riggs 2007-10-12 11:00:54 Re: First steps with 8.3 and autovacuum launcher