Thread: Re: [PATCHES] Dbsize backend integration

Re: [PATCHES] Dbsize backend integration

From
"Dave Page"
Date:

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: 06 July 2005 04:11
> To: Tom Lane
> Cc: Dave Page; Christopher Kings-Lynne; Robert Treat; Dawid
> Kuroczko; Andreas Pflug; PostgreSQL-patches; PostgreSQL-development
> Subject: Re: [HACKERS] [PATCHES] Dbsize backend integration
>
> Tom Lane wrote:
> >
> > pg_relation_size plus pg_complete_relation_size is fine.  Ship it...
>
> OK.

Updated version attached.

Regards, Dave.

Attachment

Re: [PATCHES] Dbsize backend integration

From
Bruce Momjian
Date:
Patch applied.  Thanks.  /contrib/dbsize removed.  New functions:

        pg_tablespace_size
        pg_database_size
        pg_relation_size
        pg_complete_relation_size
        pg_size_pretty

---------------------------------------------------------------------------

Dave Page wrote:
>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> > Sent: 06 July 2005 04:11
> > To: Tom Lane
> > Cc: Dave Page; Christopher Kings-Lynne; Robert Treat; Dawid
> > Kuroczko; Andreas Pflug; PostgreSQL-patches; PostgreSQL-development
> > Subject: Re: [HACKERS] [PATCHES] Dbsize backend integration
> >
> > Tom Lane wrote:
> > >
> > > pg_relation_size plus pg_complete_relation_size is fine.  Ship it...
> >
> > OK.
>
> Updated version attached.
>
> Regards, Dave.

Content-Description: dbsize.c

[ Attachment, skipping... ]

Content-Description: dbsize.patch

[ Attachment, skipping... ]

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073