Re: dbsize contrib

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: dbsize contrib
Date: 2004-08-30 08:15:29
Message-ID: Pine.LNX.4.58.0408301813460.11072@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Mon, 30 Aug 2004, Andreas Pflug wrote:

> Gavin Sherry wrote:
>
> >>The attached patch contributes:
> >>
> >>- database_size(name)
> >>- relation_size(text)
> >
> >
> > I sent in a dbsize patch to make these functions tablespace aware...
>
> AFAIR your patch was applied, but it misses tables in non-default
> tablespaces.

Ahh. There is a thoughto in my patch. The ifdef should have been
HAVE_SYMLINK not SYMLINK. With HAVE_SYMLINK the current code works fine.

That being said, your patch seems to clean up the code some whilst adding
more functionality.

Gavin

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2004-08-30 09:15:40 Re: Autovbacuum Win32 service patch
Previous Message Fabien COELHO 2004-08-30 08:12:38 Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE