X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5E29147580B for ; Thu, 27 Mar 2003 17:02:43 -0500 (EST) Received: from proteus.affordablehost.com (unknown [216.46.203.177]) by postgresql.org (Postfix) with SMTP id 761D7474E44 for ; Thu, 27 Mar 2003 17:02:42 -0500 (EST) Received: (qmail 5597 invoked from network); 27 Mar 2003 22:02:41 -0000 Received: from unknown (HELO e-greek.net) (66.92.74.181) by 216.46.203.177 with SMTP; 27 Mar 2003 22:02:41 -0000 Message-ID: <3E837504.1010906@e-greek.net> Date: Thu, 27 Mar 2003 17:02:44 -0500 From: Andrew Biagioni User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hacksaw Cc: Lamar Owen , pgsql-admin@postgresql.org Subject: Re: Upgrading: So now you tell me!!?!? References: <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com> In-Reply-To: <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-34.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,MANY_EXCLAMATIONS, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/469 X-Sequence-Number: 8109 My 2 cents: I'm somewhat new to PostgreSQL and sysadmin'ing in general, but I haven't had problems with installs/upgrades. The reason: I haven't used the RPMs, I went the "hard" route and did builds and installs. This, in turn, forced me to read the install/upgrade documentation (very well written, kudos to the authors -- very good section on system config, too) which I would never have done if I had done an RPM-style upgrade. Given the complexity of a DB system (especially if used for heavy work) and the clarity of the docs, I strongly recommend anyone to scan through them at least once... http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/admin.html Andrew Hacksaw wrote: >No worries, I do know what to do in essence. One question: is there anything >*special* I need to do? I notice a mention of needing to hand edit the >dumpfiles if upgrading from 7.2 to 7.3. Is this the case here as well? Where >is the documentation on that? > >Let me say that despite the problems, I support your efforts. Being a >sys-admin, I understand that mistakes are made, and I'm cool with it. I mainly >wanted to help make sure someone with less experience and more at stake >doesn't get burned. > >Is there a clear marker of file format version in the database files? My >suggestion would be to have the pre-install script test for that, and abort if >it's the wrong version. Then you have the README.upgrade say something like >"After you run pg_dumpall, move /var/lib/pqsql to /var/lib/pgsql.$OLD_VERSION_N >UMBER. > >That way, the preinstall will find nothing, and be able to do initdb, and if >you are feeling really snarky, offer to try a restore for them. > > >