Received: from candle.pha.pa.us (pgman@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.10.1/8.10.1) with ESMTP id e55H60W32938; Mon, 5 Jun 2000 13:06:00 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id NAA04033; Mon, 5 Jun 2000 13:05:02 -0400 (EDT) From: Bruce Momjian Message-Id: <200006051705.NAA04033@candle.pha.pa.us> Subject: Re: [HACKERS] INSTALL/install.sgml file In-Reply-To: <12133.960219463@sss.pgh.pa.us> "from Tom Lane at Jun 5, 2000 11:37:43 am" To: Tom Lane Date: Mon, 5 Jun 2000 13:05:02 -0400 (EDT) CC: PostgreSQL-development , PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200006/8 > Bruce Momjian writes: > > In looking at the INSTALL/install.sgml files, I see that there are no > > instructions for removing the /data directory after the backup, so > > initdb will succeed. Should that be suggested after the backup is > > performed? If not, initdb will fail. Also, I have to add something to > > the initdb step to tell 7.* users they don't need initdb. > > What? It says "move the old directories out of the way" at the bottom > of step 6. > Oh, I see that now. The trick was that people upgrading from 7.0 or 7.0.1 do not need to do pg_dumpall, nor move the old directory out of the way, nor do an initdb, nor reload from pg_dumpall. I put a note about who should run pg_dumpall (6.5.* or earlier), and then later I mention that "If you did pg_dumpall..." move the old directory out of the way, do initdb, and reload. Seems it is OK now. Thanks. > Possibly that should be promoted into a whole separate step, rather than > being just an afterthought to killing the postmaster. > > This step and step 11 should also mention pg_upgrade as a possible > alternative to doing a full reload. (But encourage people to make > the backup anyway ;-).) I got that into step 5: Rather than using pg_dumpall, pg_upgrade can often be used. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026