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 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org