Re: dbsize backend integration - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: dbsize backend integration
Date
Msg-id 42AFCB7C.1010805@pse-consulting.de
Whole thread Raw
In response to Re: dbsize backend integration  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: uptime function to postmaster
Next
From: Neil Conway
Date:
Subject: Re: plpgsql raise - parameters can be expressions