Re: db cluster location

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: db cluster location
Date: 2010-01-21 18:13:37
Message-ID: 36F071C7-B236-4DFA-BBC0-930E1939EBB3@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2010-01-21 18:33:52 Re: Help me about postgreSql code
Previous Message Amy Smith 2010-01-21 18:10:46 postgres