Re: Version Discrepancy

From: Ron St-Pierre <ron(dot)pgsql(at)shaw(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Cc: Douglas McNaught <doug(at)mcnaught(dot)org>
Subject: Re: Version Discrepancy
Date: 2006-07-10 03:13:40
Message-ID: 44B1C5E4.2020207@shaw.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Douglas McNaught wrote:
> rstp <ronDOTmhp(at)shaw(dot)ca> writes:
>
>
>> pg_config is telling us that we are running version 7.3.6-RH, but when
>> we start psql it shows that we are running 8.1.4 (which is the correct
>> version).
>> [postgres(at)mh bin]$ pg_config --version
>> PostgreSQL 7.3.6-RH
>> [postgres(at)mh bin]$ which postmaster
>> ~/bin/postmaster
>> [postgres(at)mh bin]$ psql imp
>> Welcome to psql 8.1.4, the PostgreSQL interactive terminal.
>>
>
> I'm guessing that for some reason the pg_config from 7.X is found
> first in your PATH. What does 'which pg_config' print?
>
That's it. 'which pg_config' returns /usr/bin/pg_config
I guess that I ran it too early on a Saturday morning, I must have
blindly assumed that my '[postgres(at)mh bin]$ pg_config --version' command
would look at the current directory first by default.

Thanks Doug!

Ron
> -Doug
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message nuno 2006-07-10 03:35:39 having indexes when clearing tables
Previous Message Francisco Reyes 2006-07-10 00:22:59 Re: Can Log filename include database name?