dbsize patch - Mailing list pgsql-patches

From Ed L.
Subject dbsize patch
Date
Msg-id 200501251649.15875.pgsql@bluepolka.net
Whole thread Raw
Responses Re: dbsize patch  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
The attached dbsize patch:

    + makes relation_size(relname) include toast tables;
    + adds aggregate_relation_size(relname) to count table data and indices;
    + adds indices_size(relname) to report the size of indices for a relation;

I've minimally tested it against PostgreSQL 8.1devel on i686-pc-linux-gnu,
compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

Ed

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] userlock changes for 8.1/8.2
Next
From: Greg Sabino Mullane
Date:
Subject: Continue transactions after errors in psql