mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Update 7.0.1
This commit is contained in:
parent
54ee522f4f
commit
f9f6cc4ab0
19
INSTALL
19
INSTALL
@ -1,11 +1,11 @@
|
|||||||
Installation instructions for PostgreSQL 7.0.
|
Installation instructions for PostgreSQL 7.0.1.
|
||||||
|
|
||||||
If you haven't gotten the PostgreSQL distribution, get it from
|
If you haven't gotten the PostgreSQL distribution, get it from
|
||||||
ftp.postgresql.org, then unpack it:
|
ftp.postgresql.org, then unpack it:
|
||||||
|
|
||||||
> gunzip postgresql-7.0.tar.gz
|
> gunzip postgresql-7.0.1.tar.gz
|
||||||
> tar -xf postgresql-7.0.tar
|
> tar -xf postgresql-7.0.1.tar
|
||||||
> mv postgresql-7.0 /usr/src
|
> mv postgresql-7.0.1 /usr/src
|
||||||
|
|
||||||
|
|
||||||
Before you start
|
Before you start
|
||||||
@ -151,7 +151,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
|
|||||||
this (such as using OIDs as keys in tables), don't do it.
|
this (such as using OIDs as keys in tables), don't do it.
|
||||||
|
|
||||||
Make sure to use the pg_dumpall command from the version you are
|
Make sure to use the pg_dumpall command from the version you are
|
||||||
currently running. 7.0's pg_dumpall will not work on older databases.
|
currently running. 7.0.1's pg_dumpall will not work on pre-7.0 databases.
|
||||||
However, if you are still using 6.0, do not use the pg_dumpall script
|
However, if you are still using 6.0, do not use the pg_dumpall script
|
||||||
from 6.0 or everything will be owned by the PostgreSQL superuser after
|
from 6.0 or everything will be owned by the PostgreSQL superuser after
|
||||||
you reload. In that case you should grab pg_dumpall from a later 6.x.x
|
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:
|
|||||||
backup. If necessary, bring down postmaster, edit the permissions in file
|
backup. If necessary, bring down postmaster, edit the permissions in file
|
||||||
/usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
|
/usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
|
||||||
postmaster back up.
|
postmaster back up.
|
||||||
|
|
||||||
6. If you are upgrading an existing system then kill the database server
|
6. If you are upgrading an existing system then kill the database server
|
||||||
now. Type
|
now. Type
|
||||||
|
|
||||||
@ -200,7 +201,8 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
|
|||||||
|
|
||||||
works.
|
works.
|
||||||
|
|
||||||
Also move the old directories out of the way. Type the following:
|
If you used pg_dumpall, move the old directories out of the
|
||||||
|
way. Type the following:
|
||||||
|
|
||||||
> mv /usr/local/pgsql /usr/local/pgsql.old
|
> mv /usr/local/pgsql /usr/local/pgsql.old
|
||||||
|
|
||||||
@ -284,8 +286,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
|
|||||||
</dev/null >>server.log 2>>1 &
|
</dev/null >>server.log 2>>1 &
|
||||||
|
|
||||||
|
|
||||||
11. If you are upgrading from an existing installation, dump your data back
|
11. If you did a pg_dumpall, reload your data back in:
|
||||||
in:
|
|
||||||
|
|
||||||
> /usr/local/pgsql/bin/psql -d template1 -f db.out
|
> /usr/local/pgsql/bin/psql -d template1 -f db.out
|
||||||
|
|
||||||
@ -312,7 +313,7 @@ suggestions.
|
|||||||
|
|
||||||
* You probably want to install the man and HTML documentation. Type
|
* You probably want to install the man and HTML documentation. Type
|
||||||
|
|
||||||
> cd /usr/src/pgsql/postgresql-7.0/doc
|
> cd /usr/src/pgsql/postgresql-7.0.1/doc
|
||||||
> gmake install
|
> gmake install
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:51 thomas Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.42 2000/06/01 05:47:06 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="install">
|
<chapter id="install">
|
||||||
@ -8,7 +8,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:
|
|||||||
<abstract>
|
<abstract>
|
||||||
<para>
|
<para>
|
||||||
Installation instructions for
|
Installation instructions for
|
||||||
<productname>PostgreSQL</productname> 7.0.
|
<productname>PostgreSQL</productname> 7.0.1.
|
||||||
</para>
|
</para>
|
||||||
</abstract>
|
</abstract>
|
||||||
|
|
||||||
@ -18,9 +18,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41 2000/05/02 20:01:
|
|||||||
then unpack it:
|
then unpack it:
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
> gunzip postgresql-7.0.tar.gz
|
> gunzip postgresql-7.0.1.tar.gz
|
||||||
> tar -xf postgresql-7.0.tar
|
> tar -xf postgresql-7.0.1.tar
|
||||||
> mv postgresql-7.0 /usr/src
|
> mv postgresql-7.0.1 /usr/src
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ All of PostgreSQL is successfully made. Ready to install.
|
|||||||
<para>
|
<para>
|
||||||
Make sure to use the <application>pg_dumpall</application>
|
Make sure to use the <application>pg_dumpall</application>
|
||||||
command from the version you are currently running.
|
command from the version you are currently running.
|
||||||
7.0's <application>pg_dumpall</application> will not work on older databases.
|
7.0.1's <application>pg_dumpall</application> will not work on older databases.
|
||||||
However, if you are still using 6.0, do not use the
|
However, if you are still using 6.0, do not use the
|
||||||
<application>pg_dumpall</application> script from 6.0 or everything will be
|
<application>pg_dumpall</application> script from 6.0 or everything will be
|
||||||
owned by the <productname>PostgreSQL</productname> superuser after you
|
owned by the <productname>PostgreSQL</productname> superuser after you
|
||||||
@ -329,7 +329,8 @@ All of PostgreSQL is successfully made. Ready to install.
|
|||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Also move the old directories out of the way. Type the following:
|
If you used pg_dumpall, move the old directories out of the way.
|
||||||
|
Type the following:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
> mv /usr/local/pgsql /usr/local/pgsql.old
|
> mv /usr/local/pgsql /usr/local/pgsql.old
|
||||||
</programlisting>
|
</programlisting>
|
||||||
@ -438,7 +439,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
|
|||||||
|
|
||||||
<step performance="optional">
|
<step performance="optional">
|
||||||
<para>
|
<para>
|
||||||
If you are upgrading from an existing installation, dump your data back in:
|
If you did a pg_dumpall, reload your data back in:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
> /usr/local/pgsql/bin/psql -d template1 -f db.out
|
> /usr/local/pgsql/bin/psql -d template1 -f db.out
|
||||||
</programlisting>
|
</programlisting>
|
||||||
@ -485,7 +486,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
|
|||||||
You probably want to install the <application>man</application> and
|
You probably want to install the <application>man</application> and
|
||||||
<acronym>HTML</acronym> documentation. Type
|
<acronym>HTML</acronym> documentation. Type
|
||||||
<programlisting>
|
<programlisting>
|
||||||
> cd /usr/src/pgsql/postgresql-7.0/doc
|
> cd /usr/src/pgsql/postgresql-7.0.1/doc
|
||||||
> gmake install
|
> gmake install
|
||||||
</programlisting>
|
</programlisting>
|
||||||
This will install files under <filename>/usr/local/pgsql/doc</filename>
|
This will install files under <filename>/usr/local/pgsql/doc</filename>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user