Re: Dbsize backend integration - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: Dbsize backend integration
Date
Msg-id 42C72215.3090506@pse-consulting.de
Whole thread Raw
In response to Re: Dbsize backend integration  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: [HACKERS] Dbsize backend integration  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [HACKERS] Dbsize backend integration  (Dawid Kuroczko <qnex42@gmail.com>)
List pgsql-patches
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Bruce Momjian [mailto:pgman@candle.pha.pa.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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #1467: fe_connect doesn't handle EINTR right
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Problem with dblink regression test - FIXED