Postgres question
| From: | Robert Abbate | Date: | Sun, 31 Mar 2002 05:48:01 +0000 |
| Subject: | Postgres question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90866@lists.php.net to get a copy of this message | ||
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