Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Date: 2004-08-18 01:41:00
Message-ID: 4122B3AC.3070507@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Treat 2004-08-18 12:29:43 Re: BUG #1222: database owner should have implicit control
Previous Message Andreas Pflug 2004-08-18 01:13:15 Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong