Re: Dbsize backend integration

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Dbsize backend integration
Date: 2005-07-02 23:24:05
Message-ID: 42C72215.3090506@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-07-02 23:28:29 Re: [HACKERS] Problem with dblink regression test - FIXED
Previous Message Tom Lane 2005-07-02 23:10:11 Re: Autotools update

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-07-02 23:28:29 Re: [HACKERS] Problem with dblink regression test - FIXED
Previous Message Bruce Momjian 2005-07-02 23:13:20 Re: BUG #1467: fe_connect doesn't handle EINTR right