pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeremy Smith <support@xpertleagues.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrading from 7.2 to 7.4.1 on Redhat 7
Date: Tue, 10 Feb 2004 11:27:52 -0500
Message-ID: <15742.1076430472@sss.pgh.pa.us> (raw)
In-Reply-To: <FKEOIJEHOIKIOEHCGNCLEEDJEDAA.support@xpertleagues.com>
References: <FKEOIJEHOIKIOEHCGNCLEEDJEDAA.support@xpertleagues.com>

"Jeremy Smith" <support@xpertleagues.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



view thread (15+ messages)  latest in thread

Message-ID: <15742.1076430472@sss.pgh.pa.us>
Permalink:  ../15742.1076430472@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15742.1076430472@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, support@xpertleagues.com
  Subject: Re: Upgrading from 7.2 to 7.4.1 on Redhat 7
  In-Reply-To: <15742.1076430472@sss.pgh.pa.us>
  References: <FKEOIJEHOIKIOEHCGNCLEEDJEDAA.support@xpertleagues.com> <15742.1076430472@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox