Skip site navigation (1) Skip section navigation (2)

Re: dbsize patch

From: Neil Conway <neilc(at)samurai(dot)com>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: dbsize patch
Date: 2005-01-27 01:35:48
Message-ID: 1106789748.3226.27.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
On Tue, 2005-01-25 at 16:49 -0700, Ed L. wrote:
> 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).

Barring any objections, I'll apply this to HEAD tomorrow.


In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2005-01-27 03:20:21
Subject: Re: Multi-table truncate
Previous:From: Alvaro HerreraDate: 2005-01-27 00:04:53
Subject: Shared dependency patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group