Re: Finding the bin path

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Rob Jaeger <yogirob(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Finding the bin path
Date: 2009-12-25 19:07:17
Message-ID: 4B350D65.1050802@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-12-25 19:20:11 Re: Finding the bin path
Previous Message John R Pierce 2009-12-25 19:03:33 Re: Finding the bin path