Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
f9f6cc4a
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f9f6cc4a
编写于
6月 01, 2000
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update 7.0.1
上级
54ee522f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
21 addition
and
19 deletion
+21
-19
INSTALL
INSTALL
+10
-9
doc/src/sgml/install.sgml
doc/src/sgml/install.sgml
+11
-10
未找到文件。
INSTALL
浏览文件 @
f9f6cc4a
Installation instructions for PostgreSQL 7.0.
Installation instructions for PostgreSQL 7.0.
1.
If you haven't gotten the PostgreSQL distribution, get it from
ftp.postgresql.org, then unpack it:
> gunzip postgresql-7.0.tar.gz
> tar -xf postgresql-7.0.tar
> mv postgresql-7.0 /usr/src
> gunzip postgresql-7.0.
1.
tar.gz
> tar -xf postgresql-7.0.
1.
tar
> mv postgresql-7.0
.1
/usr/src
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.
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
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
...
...
@@ -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
/usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
postmaster back up.
6. If you are upgrading an existing system then kill the database server
now. Type
...
...
@@ -200,7 +201,8 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
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
...
...
@@ -284,8 +286,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
</dev/null >>server.log 2>>1 &
11. If you are upgrading from an existing installation, dump your data back
in:
11. If you did a pg_dumpall, reload your data back in:
> /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
> cd /usr/src/pgsql/postgresql-7.0/doc
> cd /usr/src/pgsql/postgresql-7.0
.1
/doc
> gmake install
...
...
doc/src/sgml/install.sgml
浏览文件 @
f9f6cc4a
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.4
1 2000/05/02 20:01:51 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.4
2 2000/06/01 05:47:06 momjian
Exp $
-->
<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>
<para>
Installation instructions for
<productname>PostgreSQL</productname> 7.0.
<productname>PostgreSQL</productname> 7.0.
1.
</para>
</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:
<programlisting>
> gunzip postgresql-7.0.tar.gz
> tar -xf postgresql-7.0.tar
> mv postgresql-7.0 /usr/src
> gunzip postgresql-7.0.
1.
tar.gz
> tar -xf postgresql-7.0.
1.
tar
> mv postgresql-7.0
.1
/usr/src
</programlisting>
</para>
...
...
@@ -261,7 +261,7 @@ All of PostgreSQL is successfully made. Ready to install.
<para>
Make sure to use the <application>pg_dumpall</application>
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
<application>pg_dumpall</application> script from 6.0 or everything will be
owned by the <productname>PostgreSQL</productname> superuser after you
...
...
@@ -329,8 +329,9 @@ All of PostgreSQL is successfully made. Ready to install.
</tip>
<para>
Also move the old directories out of the way. Type the following:
<programlisting>
If you used pg_dumpall, move the old directories out of the way.
Type the following:
<programlisting>
> mv /usr/local/pgsql /usr/local/pgsql.old
</programlisting>
(substitute your particular paths).
...
...
@@ -438,7 +439,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
<step performance="optional">
<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>
> /usr/local/pgsql/bin/psql -d template1 -f db.out
</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
<acronym>HTML</acronym> documentation. Type
<programlisting>
> cd /usr/src/pgsql/postgresql-7.0/doc
> cd /usr/src/pgsql/postgresql-7.0
.1
/doc
> gmake install
</programlisting>
This will install files under <filename>/usr/local/pgsql/doc</filename>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录