Re: Upgrading from 7.2 to 7.4.1 on Redhat 7

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jeremy Smith" <support(at)xpertleagues(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Upgrading from 7.2 to 7.4.1 on Redhat 7
Date: 2004-02-10 16:27:52
Message-ID: 15742.1076430472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Jeremy Smith" <support(at)xpertleagues(dot)com> writes:
> From that I figured that I must need to update to a more current version of
> PostgreSQL. I downloaded the .tar.gz for 7.4.1 and followed the
> instructions, and installed it in my usr/local folder. Everything seemed
> to compile correctly. I didn't set the "--prefix=PREFIX" command line
> option, so I assumed it would overwrite all of the files in the
> /usr/local/pgsql folder. The problem is, that there is no proof that I now
> have an updated version of PostgreSQL. When I try to use postmaster, I
> continue to get the same result.

It sounds to me like the originally installed postmaster is still
running. (That installation will most certainly not be in /usr/local.)
You need to stop that postmaster, initdb the 7.4 installation, and start
the 7.4 postmaster. You will likely also want to change the initscript
that is auto-starting the old postmaster at boot time, so that it
autostarts the 7.4 installation instead.

On the whole it might be easier to install 7.4 from an RPM, since that
way should put the 7.4 installation where the initscript expects to find
it.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2004-02-10 16:37:15 co existance of tsearch V1 and V2 in same database.
Previous Message Palle Girgensohn 2004-02-10 16:24:08 Re: reduce downtime when upgrading 7.3 -> 7.4