pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Smith <jer@highboard.com>
To: pgsql-admin@postgresql.org
Subject: FW: Upgrading from 7.2 to 7.4.1 on Redhat 7
Date: Tue, 10 Feb 2004 17:50:40 -0500
Message-ID: <FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com> (raw)


Hello Scott,

thank you for this link.  But I wonder, do I need to do this if postgres has
never actually been used by any user of this server in the past?

This is what happened when I tried each step of that page:

2. pg_dumpall > file.txt

I received this error:

pg_dumpall: could not connect to database template1: could not connect to
server
: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

3. kill -INT `cat /usr/local/pgsql/data/postmaster.pid`

postmaster.pid doesn't exist anywhere on my server.

Since all of that failed, I'm not sure if I should move ahead with:

mv /usr/local/pgsql /usr/local/pgsql.old

"After you have installed PostgreSQL 7.4, create a new database directory
and start the new server. Remember that you must execute these commands
while logged in to the special database user account (which you already have
if you are upgrading).

/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
 /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data"

Thanks for all the help that I have received so far, it is very much
appreciated.  :)

Jeremy



-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of scott.marlowe
Sent: Tuesday, February 10, 2004 11:43 AM
To: Jeremy Smith
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Upgrading from 7.2 to 7.4.1 on Redhat 7



Hi Jeremy.  Updating major versions (i.e. 7.2 to 7.3 or 7.4) requires you
to dump and restore your database.

This page explains it:

http://www.postgresql.org/docs/7.4/static/install-upgrading.html

If you still need some more help, feel free to ask, we're a pretty
responsive community.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org





view thread (15+ messages)  latest in thread

Message-ID: <FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com>
Permalink:  ../FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com/
Also on:    postgresql.org/message-id/FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com

 · 

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: jer@highboard.com
  Subject: Re: FW: Upgrading from 7.2 to 7.4.1 on Redhat 7
  In-Reply-To: <FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com>
  References: <FKEOIJEHOIKIOEHCGNCLOEEEEDAA.jer@highboard.com>

* 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