Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong - Mailing list pgsql-bugs

From Andreas Pflug
Subject Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Date
Msg-id 4122B3AC.3070507@pse-consulting.de
Whole thread Raw
In response to Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
List pgsql-bugs
Bruce Momjian wrote:
> Andreas Pflug wrote:
>
>>Bruce Momjian wrote:
>>
>>>Andreas Pflug wrote:
>>>
>>>
>>>>Bruce Momjian wrote:
>>>>
>>>>
>>>>>This has been corrected in current  CVS.
>>>>
>>>>But it still fails for tables in tablespaces. That's why I posted all
>>>>new functions a while ago.
>>>
>>>
>>>Yes, you posted the functions, but I don't understand how to integrate
>>>that into dbsize.
>>
>>What's the problem? The usage of oids instead of name? The current
>>dbsize functions are not easy to integrate in queries as executed from
>>admin tools, as
>>SELECT *, pg_relation_size(oid) FROM pg_class
>
>
> I basically didn't understand how it fit in with dbsize, and being in
> beta, I didn't have time to fiddle with it.

OK what can we do?
I could create something including my functions, and additionally the
old dbsize function api reusing that code if still needed.

Regards,
Andreas

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Next
From: Bruce Momjian
Date:
Subject: Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong