Re: [GENERAL] Version Discrepancy

2006-07-09 Thread Douglas McNaught
rstp [EMAIL PROTECTED] 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).
   [EMAIL PROTECTED] bin]$ pg_config --version
   PostgreSQL 7.3.6-RH
   [EMAIL PROTECTED] bin]$ which postmaster
   ~/bin/postmaster
   [EMAIL PROTECTED] 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?

-Doug

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


Re: [GENERAL] Version Discrepancy

2006-07-09 Thread Ron St-Pierre

Douglas McNaught wrote:

rstp [EMAIL PROTECTED] 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).
  [EMAIL PROTECTED] bin]$ pg_config --version
  PostgreSQL 7.3.6-RH
  [EMAIL PROTECTED] bin]$ which postmaster
  ~/bin/postmaster
  [EMAIL PROTECTED] 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 '[EMAIL PROTECTED] 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

  



---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[GENERAL] Version Discrepancy

2006-07-08 Thread rstp
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).

 [EMAIL PROTECTED] bin]$ pg_config --version
 PostgreSQL 7.3.6-RH
 [EMAIL PROTECTED] bin]$ which postmaster
 ~/bin/postmaster
 [EMAIL PROTECTED] bin]$ psql imp
 Welcome to psql 8.1.4, the PostgreSQL interactive terminal.

This isn't causing any problems, but does seem a bit unusual. We 
purchased a Dell server with RHEL preinstalled, minus postgres, which we 
installed ourselves. No non-8.1.4 versions of pg_ctl or postmaster exist 
on the server. Any ideas on what's causing this?


Thanks,

Ron

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly