Re: Finding the bin path - Mailing list pgsql-general

From Guillaume Lelarge
Subject Re: Finding the bin path
Date
Msg-id 4B350D65.1050802@lelarge.info
Whole thread Raw
In response to Finding the bin path  (Rob Jaeger <yogirob@gmail.com>)
List pgsql-general
Le 25/12/2009 18:02, Rob Jaeger a écrit :
> Is there a command or reliable method of finding the location of the
> PostgreSQL bin path?
>

Nope.

> I'm currently using "SHOW hba_file;" which gives me the data path. For
> default installs I can find the bin relative to this, but it fails under
> custom installs.
>

It doesn't give you the path to to data directory. It gives you the path
to the pg_hba.conf file. If you want the data directory path, use SHOW
data_directory.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Finding the bin path
Next
From: Tom Lane
Date:
Subject: Re: Finding the bin path