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

From Bruce Momjian
Subject Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Date
Msg-id 200408172351.i7HNplk06778@candle.pha.pa.us
Whole thread Raw
In response to Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-bugs
Andreas Pflug wrote:
> >>>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.

Well, if dbsize doesn't currently work properly, we need to fix it
before final release so any improvements would be good.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Next
From: Bruce Momjian
Date:
Subject: Re: 8.0.0beta1: Ownership of implicit sequences after dump/restore