Re: DBSize backend integration - Mailing list pgsql-hackers

From Dave Page
Subject Re: DBSize backend integration
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490E71B@ratbert.vale-housing.co.uk
Whole thread Raw
In response to DBSize backend integration  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: DBSize backend integration
List pgsql-hackers

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: 24 June 2005 21:07
> To: Dave Page
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] DBSize backend integration
>
> > >
> > > So drop total_relation_size(),
> relation_size_components(), and what
> > > else?
> >
> > indexes_size()
>
> What is the logic for removing that?  Because it is an
> aggregate of all
> indexes?

Yes, and is of limited use in my opinion. I can see a use for
pg_relation_size when used on an individual index, but the total of all
indexes on a relation seems of little real use to me (and is relatively
easily calculated if it really is required for a more specialised
purpose).

Regards, Dave.



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: DBSize backend integration
Next
From: Bob
Date:
Subject: Re: PL/pgSQL Debugger Support