Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group