Re: Postgres question
| From: | Yasuo Ohgaki | Date: | Mon, 01 Apr 2002 02:20:06 +0000 |
| Subject: | Re: Postgres question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90905@lists.php.net to get a copy of this message | ||
In addition to oid2name mentioned, you might want to know
about system catalog schema.
It's explained in manual
http://www.postgresql.org/idocs/index.php?catalogs.html
--
Yasuo Ohgaki
Robert Abbate wrote:
Greetings to all! I have a webhosting company, and I'm trying to be able to use PHP to calculate each of my hosting customer's Postgres database disk usage. It doesn't seem as easy as MySQL (since MySQL uses the user name to store all their database files). Does anyone know how I can calculate PostgreSQL disk space usage for each of my hosting user accounts? It seems I'm going to have to find out how Postgres keeps track of which user's database name is and it's corresponding number (so far, I've been able to determin that Postges uses numbers instead of names). Can anyone give me some insight? Thanks! Robert