X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B11A1474E4F for ; Fri, 11 Apr 2003 01:34:22 -0400 (EDT) Received: from koa.aloha.com (koa.aloha.com [206.127.224.85]) by postgresql.org (Postfix) with ESMTP id 7D940474E42 for ; Fri, 11 Apr 2003 01:34:21 -0400 (EDT) Received: from vaiosr7k.ozland (atm-251-63.pixi.com [206.127.251.63]) by koa.aloha.com (8.12.2/8.12.2) with SMTP id h3B5Y3jJ011643 for ; Thu, 10 Apr 2003 19:34:03 -1000 (HST) Date: Thu, 10 Apr 2003 19:30:53 -1000 From: Gary Dunn To: pgsql-admin@postgresql.org Subject: Re: Upgrading: So now you tell me!!?!? Message-Id: <20030410193053.751ac62f.knowtree@aloha.com> Organization: Open Slate X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-20.7 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,MANY_EXCLAMATIONS, QUOTED_EMAIL_TEXT,SIGNATURE_LONG_DENSE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/189 X-Sequence-Number: 8344 "Steve Wolfe" wrote: > I had an older installation of postgresql, 7.1.3. I got down the packages for > 7.3.2. I looked at a few of the files in the directories where the packages > were kept, and seeing no particular warnings, I ran rpm -Uvh postgresql*, > which ran without a hitch, until I restarted the postmaster. Then it informed > me that I should have dumped the damned database before I upgraded the > binaries. > > This is like seeing the "Bridge Out" sign at the bottom of the river. > > Why didn't the preinstall scripts dump the database? Why doesn't the FAQ or > the README in the download directory mention the required procedure? I'm in the same boat. The thread that followed went off into the merits of rpms and building from source ... always fun, but not what I need right now. My question is, how do I recover? I have a bunch of really nice data sitting in a database I can no longer access. Is there a conversion procedure? Do I build the previous version? How do I do that? I am running FreeBSD 4.6.2 and installed from the ports collection using portupgrade. The "problem" with portupgrade in this situation is that it fully automates the build and install process. Even if the "make" command warned about the need to dump data (and maybe it did) there was no chance to do anything before "make install." From now on I'll exclude postgresql from the portupgrade procedure. Except for this one glitch I have been very happy with postgresql. Live and learn! -- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ Gary Dunn _/ _/ Open Slate Project _/ _/ http://openslate.sourceforge.net/ _/ _/ http://www.aloha.com/~knowtree/ _/ _/ Honolulu _/ _/ registered Linux user #273809 _/ _/ _/ _/ This tagline is umop apisdn. _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/