From: Bruno Wolff III <bruno@wolff.to>
To: Pradeepkumar, Pyatalo (IE10) <Pradeepkumar.Pyatalo@honeywell.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: problem with setting PATH variable
Date: Fri, 20 Aug 2004 11:17:15 -0500
Message-ID: <20040820161715.GA25806@wolff.to> (raw)
In-Reply-To: <77ED2BF75D59D1439F90412CC5B10974108FD7F0@ie10-sahara.hiso.honeywell.com>
References: <77ED2BF75D59D1439F90412CC5B10974108FD7F0@ie10-sahara.hiso.honeywell.com>
On Fri, Aug 20, 2004 at 07:25:22 -0700,
"Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar.Pyatalo@honeywell.com> wrote:
>
> I have installed postgresql by building from a source tar ball.
> so every time i log in to the postgres session i have to set the PATH
> variable to /usr/local/bin, is there way so that i dont have to set the PATH
> variable every time i log into the postgres session.
The above doesn't really make sense. You don't log in to a postgres session
and then run psql. I think what you really mean is that you are logging into
a shell session instead of a postgres session. When you run psql, then
you have to authenticate to postgres via some means. (Which may or may not
involve supplying a password depending on your setup.) How you set your
default search path for your shell depends on your particular shell.
You need to read the documentation on your shell to see how to change it.
Probably your shell is bash, since that is the default and it seems unlikely
that you have changed it. You can use the finger command to see what it is.
For bash, your would probably want to add the following to your .bashrc file:
PATH=/usr/local/bin:$PATH
export PATH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, Pradeepkumar.Pyatalo@honeywell.com
Subject: Re: problem with setting PATH variable
In-Reply-To: <20040820161715.GA25806@wolff.to>
References: <77ED2BF75D59D1439F90412CC5B10974108FD7F0@ie10-sahara.hiso.honeywell.com> <20040820161715.GA25806@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox