Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
418368bc
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,发现更多精彩内容 >>
提交
418368bc
编写于
4月 24, 2000
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update SCO FAQ>
上级
297e7f3e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
67 addition
and
16 deletion
+67
-16
doc/FAQ_SCO
doc/FAQ_SCO
+67
-16
未找到文件。
doc/FAQ_SCO
浏览文件 @
418368bc
=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL V
6.5
Frequently Asked Questions (FAQ) for PostgreSQL V
7.0
SCO UnixWare and OpenServer Specific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
last updated:
Tue May 25 12:00:00 PDT 1999
last updated:
Mon Apr 24 04:31:44 EDT 2000
current maintainer:
Andrew Merrill (andrew@compclass.com
)
current maintainer:
Billy G. Allie (Bill.Allie@mug.org
)
original author: Andrew Merrill (andrew@compclass.com)
PostgreSQL
6.5
can be built on SCO UnixWare 7 and SCO OpenServer 5.
PostgreSQL
7.0
can be built on SCO UnixWare 7 and SCO OpenServer 5.
On OpenServer, you can use either the OpenServer Development Kit or
the Universal Development Kit.
...
...
@@ -21,6 +21,7 @@ Topics:
*) C++ and libpq++
*) Readline
*) Using the UDK on OpenServer
*) Compiling PostgreSQL using the UDK
*) Shared Memory and SHMMAX
*) Java and JDBC
*) Reading the PostgreSQL man pages on UnixWare
...
...
@@ -114,6 +115,38 @@ Putting these together with the no-C++ and readline options from above:
./configure --with-template=unixware --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include" --without-CXX
***************************************************************************
*) Compiling PostgreSQL 7.0 with the UDK
The program, backend/utils/adt/int8.c, tickles a compiler bug with in the
following version of the C compiler:
Optimizing C Compilation System (CCS) 3.2 08/18/98 (u701)
If you encounter an error compiling backend/utils/adt/int8.c, please apply
the following patch:
------------------------------8< CUT HERE >8------------------------------
*** ./src/backend/utils/adt/int8.c.orig Mon Apr 3 13:24:12 2000
--- ./src/backend/utils/adt/int8.c Mon Apr 3 13:28:47 2000
***************
*** 410,416 ****
if (*arg1 < 1)
*result = 0;
else
! for (i = *arg1, *result = 1; i > 0; --i)
*result *= i;
return result;
--- 410,416 ----
if (*arg1 < 1)
*result = 0;
else
! for (i = *arg1, *result = 1; 0 < i; --i)
*result *= i;
return result;
------------------------------8< CUT HERE >8------------------------------
***************************************************************************
*) Shared Memory and SHMMAX
...
...
@@ -221,26 +254,44 @@ By default, the PostgreSQL man pages are installed into /usr/local/pgsql/man.
By default, UnixWare does not look there for man pages, so you will not
be able to read them.
You need to make two changes to access the PostgreSQL man pages from UnixWare.
You need to make the following changes to access the PostgreSQL man pages
from UnixWare.
1) You need to modify the MANPATH variable in /etc/default/man. I use:
1) You need to modify the MANPATH environment variable. I use:
MANPATH=/usr/lib/scohelp/%L/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp:/usr/local/man:/usr/local/pgsql/man
MANPATH=/usr/local/pgsql/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp
export MANPATH
2) Add a line that says '1sql' to /etc/default/manSection.
2) The man pages for SQL commands are, by default, placed in section l
(normally used for "l"ocal pages). UnixWare does not support the l section.
3) The man pages for SQL commands are, by default, placed in section 'l'
(normally used for "l"ocal pages). UnixWare does not support the 'l'
section.
The solution I use is to move all these pages from section l to an unused
section, such as section 6. To accomplish that:
The solution I use is to move all these pages from section 'l' to a section
named '1sql'. To following KSH script will perform the move and change the
section names in the man page:
------------------------------8< CUT HERE >8------------------------------
#!/bin/ksh
cd /usr/local/pgsql/man
mv manl man6
cd man6
for file in *.l
mv man1 man.1
mkdir ../man.1sql
cd /usr/local/pgsql/man/manl
for i in *.l
do
mv $file `basename $file .l`.6
sed -e '/^\.TH/s/"l"/"1sql"/' $i >../man.1sql/${i%.l}.1sql
done
cd /usr/local/pgsql/man
rm -rf manl
------------------------------8< CUT HERE >8------------------------------
After running this script, you can view the man pages using the 'man'
command. They will not be usable from the scohelp system.
I am working on integrating the man pages into the scohelp system. When I
generate a PostgreSQL package for UnixWare 7.x, the man pages will be
integrated into the scohelp system.
I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录