Skip site navigation (1) Skip section navigation (2)

Help with command syntax?

From: Carol Walter <walterc(at)indiana(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Help with command syntax?
Date: 2007-11-13 15:35:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

Can someone help me with the syntax for running a postgres function  
from the within psql?  I need to know the size of several databases.   
The postgres documentation says there is a function that will do what  
I need.  The function is pg_database_size(name).  I tried select  
pg_database-_size(km).  The response I get says there is no column  
"km".  I think I must be using the wrong syntax, but haven't found a  
reference to what the correct syntax is.

Carol Walter


pgsql-admin by date

Next:From: Scott WhitneyDate: 2007-11-13 16:08:16
Subject: Re: Help with command syntax?
Previous:From: frant101Date: 2007-11-13 10:37:55
Subject: pg_dumpall error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group