Re: db_space - Mailing list pgsql-general

From Bruce Momjian
Subject Re: db_space
Date
Msg-id 200402092230.i19MUWo09895@candle.pha.pa.us
Whole thread Raw
In response to db_space  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
List pgsql-general
Campano, Troy wrote:
> Is there a way to get the size of your PostgreSQL database using sql?
> I need this for an inventory program.

No, not db size.  You have to use 'du'.  See the manual section
"Managing Disk Space" in the admin section.

--
  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-general by date:

Previous
From: Joe Lester
Date:
Subject: Re: Increasing Max Connections Mac OS 10.3
Next
From: "Jason Tesser"
Date:
Subject: Case sensitivity