> -----Original Message----- > From: Dawid Kuroczko [mailto:[EMAIL PROTECTED] > 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 <dpage@vale-housing.co.uk> wrote: > > > -----Original Message----- > > > From: Bruce Momjian [mailto:[EMAIL PROTECTED] > > > 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 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org