Received: from www.wgcr.org (IDENT:root@www.wgcr.org [206.74.232.194]) by hub.org (8.10.1/8.10.1) with ESMTP id e7II0dm63406; Fri, 18 Aug 2000 14:00:40 -0400 (EDT) Received: from wgcr.org ([206.74.232.197]) by www.wgcr.org (8.9.3/8.9.3/WGCR) with ESMTP id OAA32411; Fri, 18 Aug 2000 14:00:32 -0400 Message-ID: <399D79B8.249240CB@wgcr.org> Date: Fri, 18 Aug 2000 14:00:24 -0400 From: Lamar Owen X-Mailer: Mozilla 4.73 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: AlphaByte CC: pgsql list - admin , pgsql list - general Subject: Re: I screwed it up, my installation :( References: <00081817033601.00874@alphabyte.co.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/33 AlphaByte wrote: > Checking postgresql installation: old version. Need to > Upgrade.See /usr/doc/postgresql-7.0/README.rpm for more > information. > So please help me, I am desperate. Did you read the upgrade instructions in /usr/doc/postgresql-7.0.2/README.rpm, by chance? After you have read the upgrade directions, I'll be happy to answer any question you may have. As to just changing the version number in /var/lib/pgsql, that's not a good idea, as 7.0.2 has a different data format (system catalogs and such) than 6.5.2 has. The upgrade has taken care of half the work -- the other half is fully documented in the README.rpm file mentioned in the error message issued by the startup script. As to why this is not fully automatic -- well, there are people running mission-critical databases on PostgreSQL. Do I want to be responsible for my automatic upgrade script trashing their database? (Not likely!) Thus, there is a script, postgresql-dump, adapted from the Debian package, and documented in README.rpm, that handles the back half in a semi-automatic fashion -- but, as far as I know, and as far as I've heard, it won't trash your data if you run it as documented in README.rpm. No, you didn't mess up anything -- you just need to finish the job the rpm upgrade started for you. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11