Re: BUG #6549: Wrong $PATH setting after installation

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: jf(dot)vanderwoude(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6549: Wrong $PATH setting after installation
Date: 2012-03-22 23:47:13
Message-ID: CAK3UJRGKFrXXRyFu6qbT--hqcfH-0WSZgGUrjAOUS7GRve82YQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Mar 21, 2012 at 10:12 AM, <jf(dot)vanderwoude(at)gmail(dot)com> wrote:
> Operating system:   OS X Snow Leopard

> I've installed pg from the www.kyngchaos.com site.

If the problem was caused by that installer, you'll have to contact
them to fix their package. FYI, the Postgres packages for OS X
supported here can be found at:
http://www.postgresql.org/download/macosx/

> After installation, I've
> checked the $PATH setting in terminal by $ echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/pgsql/binbin:/sbin:/usr/X11/bin.
>
> Notice the wrong 'binbin' setting. How to correct this?

That should be easy enough to override for just your user with an
entry in your ~/.bash_profile . If you want to fix the source of the
problem, you might have to dig around to figure out which PATH
declaration is screwy. You could start looking at /etc/launchd.conf,
/etc/profile, /etc/bashrc, ~/.bashrc, ~/.bash_profile,
~/.MacOSX/environment.plist, and so on.

Josh

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2012-03-23 15:32:22 Re: BUG #6510: A simple prompt is displayed using wrong charset
Previous Message Marti Raudsepp 2012-03-22 21:22:34 Re: BUG #6550: Querry failed while using throung php program.