Search Postgresql Archives

Re: db cluster location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 21, 2010, at 10:00 AM, Scott Frankel wrote:

> 
> Hi all,
> 
> Is there a query I can use to find the location of a db cluster?
> 
> I've found a term that looks promising (\d+ pg_database;), but can't seem to tease a directory path from it.  The docs list several common locations, but mine doesn't appear to be one of them.

"show data_directory" is probably what you're looking for.

(also useful:  "show config_file", "show hba_file", "show ident_file").

Cheers,
  Steve



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux