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

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 (view raw or flat)
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

pgsql-patches by date

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

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