Re: dbsize backend integration

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: dbsize backend integration
Date: 2005-06-15 06:32:28
Message-ID: 42AFCB7C.1010805@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian wrote:
> Andreas Pflug wrote:
>
>>As a start for a bunch of instrumentation functions that should be
>>included in the backend as discussed previously, here are the dbsize
>>functions. The dbsize.c file should go to the usual place,
>>src/backend/utils/adt.
>
>
> How does this related to /contrib/dbsize? You have moved some
> functions, but not recreated others.
>

This patch includes only those functions that return the basic values
nobody but the server can provide; all others are some kind of derived
functions, as implemented by some personal needs. They should stay in
contrib, as they all have some limitations (e.g. implementing a subset,
as relation_size which only counts tables, or total_relation_size et al,
which are schema ignorant).

Regards,
Andreas

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-06-15 07:46:35 Re: plpgsql raise - parameters can be expressions
Previous Message Neil Conway 2005-06-15 05:55:59 Re: uptime function to postmaster