Re: pg_config --sharedir points to the wrong folder.. is this a problem? - Mailing list pgsql-general

From Sachin Srivastava
Subject Re: pg_config --sharedir points to the wrong folder.. is this a problem?
Date
Msg-id 4A720039.2080102@enterprisedb.com
Whole thread Raw
In response to pg_config --sharedir points to the wrong folder.. is this a problem?  (Jennifer Trey <jennifer.trey@gmail.com>)
Responses Re: pg_config --sharedir points to the wrong folder.. is this a problem?
List pgsql-general
On 07/30/2009 08:38 PM, Jennifer Trey wrote:
> Hi,
>
> First I installed postgres using the apt-get utility on ubuntu, and
> then later uninstalled it to install postgres though the one-click
> installer.
>
> Trying to find the share folder i ran pg_config and it shows the old
> path : /usr/share/postgresql/8.3
>
> I have a pg_config under my new installation as well
> : /opt/PostgreSQL/8.4/bin/pg_config
> but apperantly this is not being used in the global scope.
>
> Am I missing something? Did I un-install incorrectly perhaps? Is this
> a problem, could other files, pg_programs possibly have the same issue?
>
> Sincerely / Jennifer
It seems your uninstallation dint worked well. as you still have apt-get
installed pg_config which might be possible if you tried uninstalling
before stopping postgres server. (I am not so sure about it).

You can include /opt/PostgreSQL/8.4/bin folder to your PATH environment
variable to have one-click installers pg_config being used in global
scope. (Make sure you remove the apt-gets installation correctly)

--
Regards,
Sachin Srivastava
www.enterprisedb.com


pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: SVN and Postgres 8.3
Next
From: Sachin Srivastava
Date:
Subject: Re: How do I run PG Tuning Wizard on Linux?