Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
>>Sent: 02 July 2005 21:30
>>To: Bruce Momjian
>>Cc: Dave Page; PostgreSQL-patches; PostgreSQL-development
>>Subject: Re: [PATCHES] Dbsize backend integration
>>
>>
>>Is a new version of this patch coming?
>
>
> Yup, attached. Per our earlier conversation, pg_dbfile_size() now
> returns the size of a table or index, and pg_relation_size() returns the
> total size of a relation and all associated indexes and toast tables
> etc.
pg_relation_size's name is quite unfortunate, since the 8.0 contrib
function does something different. And pg_dbfile_size sounds misleading,
suggesting it takes a filename or relfilenode as parameter.
Regards,
Andreas