Re: [PATCHES] Dbsize backend integration
Re: [PATCHES] Dbsize backend integration
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
> -----Original Message----- > From: Dawid Kuroczko [mailto:qnex42@gmail.com] > Sent: 30 June 2005 22:21 > To: Dave Page > Cc: PostgreSQL-development > Subject: Re: [HACKERS] [PATCHES] Dbsize backend integration > > On 6/30/05, Dave Page wrote: > > > -----Original Message----- > > > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] > > > Sent: 29 June 2005 12:46 > > > To: Dave Page > > > Cc: PostgreSQL-patches; PostgreSQL-development > > > Subject: Re: [PATCHES] Dbsize backend integration > > > > > > I have a new idea --- pg_storage_size(). > > > > I'm not against that one, but I think Tom's point is vaild. I cannot > > think of anything better at the moment though (maybe > pg_component_size, > > but that's equally random) :-( > > > > Anyone else? Please? Someone? Anyone? :-) > > pg_diskspace_size() > pg_diskusage_size() > pg_media_used_size() > pg_allocated_size() > pg_diskspace_used() Unfortunately I think those are too generic - we also have pg_database_size() and pg_tablespace_size() for which these would work. Regards, Dave