X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48F80D1B557 for ; Tue, 10 Feb 2004 22:50:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 36821-05 for ; Tue, 10 Feb 2004 18:50:09 -0400 (AST) Received: from diver.highboard.com (ns5.highboard.com [207.44.244.101]) by svr1.postgresql.org (Postfix) with ESMTP id 4FC6FD1D642 for ; Tue, 10 Feb 2004 18:50:06 -0400 (AST) Received: from roc-66-67-208-52.rochester.rr.com ([66.67.208.52] helo=swimmer) by diver.highboard.com with asmtp (Exim 4.24) id 1AqgiY-0005Mj-H8 for pgsql-admin@postgresql.org; Tue, 10 Feb 2004 17:50:58 -0500 Reply-To: From: "Jeremy Smith" To: Subject: FW: Upgrading from 7.2 to 7.4.1 on Redhat 7 Date: Tue, 10 Feb 2004 17:50:40 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - diver.highboard.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - highboard.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/146 X-Sequence-Number: 12320 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