Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f9f6cc4

Browse files
committed
Update 7.0.1
1 parent 54ee522 commit f9f6cc4

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

INSTALL

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Installation instructions for PostgreSQL 7.0.
1+
Installation instructions for PostgreSQL 7.0.1.
22

33
If you haven't gotten the PostgreSQL distribution, get it from
44
ftp.postgresql.org, then unpack it:
55

6-
> gunzip postgresql-7.0.tar.gz
7-
> tar -xf postgresql-7.0.tar
8-
> mv postgresql-7.0 /usr/src
6+
> gunzip postgresql-7.0.1.tar.gz
7+
> tar -xf postgresql-7.0.1.tar
8+
> mv postgresql-7.0.1 /usr/src
99

1010

1111
Before you start
@@ -151,7 +151,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
151151
this (such as using OIDs as keys in tables), don't do it.
152152

153153
Make sure to use the pg_dumpall command from the version you are
154-
currently running. 7.0's pg_dumpall will not work on older databases.
154+
currently running. 7.0.1's pg_dumpall will not work on pre-7.0 databases.
155155
However, if you are still using 6.0, do not use the pg_dumpall script
156156
from 6.0 or everything will be owned by the PostgreSQL superuser after
157157
you reload. In that case you should grab pg_dumpall from a later 6.x.x
@@ -164,6 +164,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
164164
backup. If necessary, bring down postmaster, edit the permissions in file
165165
/usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
166166
postmaster back up.
167+
167168
6. If you are upgrading an existing system then kill the database server
168169
now. Type
169170

@@ -200,7 +201,8 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
200201

201202
works.
202203

203-
Also move the old directories out of the way. Type the following:
204+
If you used pg_dumpall, move the old directories out of the
205+
way. Type the following:
204206

205207
> mv /usr/local/pgsql /usr/local/pgsql.old
206208

@@ -284,8 +286,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
284286
</dev/null >>server.log 2>>1 &
285287

286288

287-
11. If you are upgrading from an existing installation, dump your data back
288-
in:
289+
11. If you did a pg_dumpall, reload your data back in:
289290

290291
> /usr/local/pgsql/bin/psql -d template1 -f db.out
291292

@@ -312,7 +313,7 @@ suggestions.
312313

313314
* You probably want to install the man and HTML documentation. Type
314315

315-
> cd /usr/src/pgsql/postgresql-7.0/doc
316+
> cd /usr/src/pgsql/postgresql-7.0.1/doc
316317
> gmake install
317318

318319

doc/src/sgml/install.sgml

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:51 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.42 2000/06/01 05:47:06 momjian Exp $
33
-->
44

55
<chapter id="install">
@@ -8,7 +8,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:
88
<abstract>
99
<para>
1010
Installation instructions for
11-
<productname>PostgreSQL</productname> 7.0.
11+
<productname>PostgreSQL</productname> 7.0.1.
1212
</para>
1313
</abstract>
1414

@@ -18,9 +18,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:
1818
then unpack it:
1919

2020
<programlisting>
21-
&gt; gunzip postgresql-7.0.tar.gz
22-
&gt; tar -xf postgresql-7.0.tar
23-
&gt; mv postgresql-7.0 /usr/src
21+
&gt; gunzip postgresql-7.0.1.tar.gz
22+
&gt; tar -xf postgresql-7.0.1.tar
23+
&gt; mv postgresql-7.0.1 /usr/src
2424
</programlisting>
2525
</para>
2626

@@ -261,7 +261,7 @@ All of PostgreSQL is successfully made. Ready to install.
261261
<para>
262262
Make sure to use the <application>pg_dumpall</application>
263263
command from the version you are currently running.
264-
7.0's <application>pg_dumpall</application> will not work on older databases.
264+
7.0.1's <application>pg_dumpall</application> will not work on older databases.
265265
However, if you are still using 6.0, do not use the
266266
<application>pg_dumpall</application> script from 6.0 or everything will be
267267
owned by the <productname>PostgreSQL</productname> superuser after you
@@ -329,8 +329,9 @@ All of PostgreSQL is successfully made. Ready to install.
329329
</tip>
330330

331331
<para>
332-
Also move the old directories out of the way. Type the following:
333-
<programlisting>
332+
If you used pg_dumpall, move the old directories out of the way.
333+
Type the following:
334+
<programlisting>
334335
&gt; mv /usr/local/pgsql /usr/local/pgsql.old
335336
</programlisting>
336337
(substitute your particular paths).
@@ -438,7 +439,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
438439

439440
<step performance="optional">
440441
<para>
441-
If you are upgrading from an existing installation, dump your data back in:
442+
If you did a pg_dumpall, reload your data back in:
442443
<programlisting>
443444
&gt; /usr/local/pgsql/bin/psql -d template1 -f db.out
444445
</programlisting>
@@ -485,7 +486,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
485486
You probably want to install the <application>man</application> and
486487
<acronym>HTML</acronym> documentation. Type
487488
<programlisting>
488-
&gt; cd /usr/src/pgsql/postgresql-7.0/doc
489+
&gt; cd /usr/src/pgsql/postgresql-7.0.1/doc
489490
&gt; gmake install
490491
</programlisting>
491492
This will install files under <filename>/usr/local/pgsql/doc</filename>

0 commit comments

Comments
 (0)