Re: Finding the bin path

From: John R Pierce <pierce(at)hogranch(dot)com>
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:03:33
Message-ID: 4B350C85.6030305@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rob Jaeger wrote:
> Is there a command or reliable method of finding the location of the
> PostgreSQL bin path?
>
> 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.
>
> My apologies if this has been addressed before, but I could not find
> it in a search.

actually in some configurations (debian/ubuntu for instance) the .CONF
files like pg_hba, aren't stored in the $PGDATA directory either, they
are in /etc/postgresql/<ver>/ or something.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2009-12-25 19:07:17 Re: Finding the bin path
Previous Message Farhan Malik 2009-12-25 18:40:47 Re: Out of space making backup