Size of my data base? - Mailing list pgsql-hackers

From Guus Kerpel
Subject Size of my data base?
Date
Msg-id 81A83162A31AD411B8E200E08110459D323097@AIEX01
Whole thread Raw
List pgsql-hackers
Hi everybody,


there must be a nice way of getting the size of my database (in mB,
preferably), but I couldn't find it in the documentation that I searched
through briefly.

The reason why I wanna do this is because the server might get full quickly
and to make sure it doensn't happen before I know I'm writing a script that
sends me the size of this database per mail.

Can anyone direct me to an answer to this problem? 

I would be most thankful,


Gus


pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: more fun with sco
Next
From: Tom Lane
Date:
Subject: Re: location of Unix socket