Re: dbsize contrib - Mailing list pgsql-patches

From Gavin Sherry
Subject Re: dbsize contrib
Date
Msg-id Pine.LNX.4.58.0408301813460.11072@linuxworld.com.au
Whole thread Raw
In response to Re: dbsize contrib  (Andreas Pflug <pgadmin@pse-consulting.de>)
List 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

pgsql-patches by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: dbsize contrib
Next
From: "Dave Page"
Date:
Subject: Re: Autovbacuum Win32 service patch