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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Date: 2004-08-17 23:51:47
Message-ID: 200408172351.i7HNplk06778@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-08-18 00:33:57 Re: 8.0.0beta1: Ownership of implicit sequences after dump/restore
Previous Message Bruce Momjian 2004-08-17 23:16:29 Re: 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong