Re: [HACKERS] INSTALL/install.sgml file

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL-documentation <docs(at)postgresql(dot)org>
Subject: Re: [HACKERS] INSTALL/install.sgml file
Date: 2000-06-05 17:05:02
Message-ID: 200006051705.NAA04033@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Gagan 2000-06-06 20:13:09
Previous Message Tom Lane 2000-06-05 15:37:43 Re: [HACKERS] INSTALL/install.sgml file

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-05 17:06:10 Re: AW: New warning code for missing FROM relations
Previous Message Tom Lane 2000-06-05 16:03:20 Re: Problems with char array set to NULL