Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
ca00c902
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,发现更多精彩内容 >>
提交
ca00c902
编写于
5月 12, 1999
作者:
J
Jan Wieck
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added installation of created procedural languages to initdb
Jan
上级
6a982fc6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
25 addition
and
4 deletion
+25
-4
src/bin/initdb/Makefile
src/bin/initdb/Makefile
+4
-2
src/bin/initdb/initdb.sh
src/bin/initdb/initdb.sh
+21
-1
src/test/regress/sql/tests
src/test/regress/sql/tests
+0
-1
未找到文件。
src/bin/initdb/Makefile
浏览文件 @
ca00c902
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.1
1 1998/07/26 04:31:16 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.1
2 1999/05/12 10:35:43 wieck
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,7 +17,9 @@ include ../../Makefile.global
all
:
initdb
initdb
:
initdb.sh
sed
's/__MULTIBYTE__/
$(MULTIBYTE)
/'
initdb.sh
>
initdb
sed
-e
's/__MULTIBYTE__/
$(MULTIBYTE)
/'
\
-e
's/__DLSUFFIX__/
$(DLSUFFIX)
/'
\
initdb.sh
>
initdb
install
:
initdb
$(INSTALL)
$(INSTL_EXE_OPTS)
$<
$(BINDIR)
/
$<
...
...
src/bin/initdb/initdb.sh
浏览文件 @
ca00c902
...
...
@@ -26,7 +26,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.5
8 1999/03/17 22:53:25 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.5
9 1999/05/12 10:35:43 wieck
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -491,6 +491,26 @@ echo "CREATE RULE \"_RETpg_indexes\" AS ON SELECT TO pg_indexes DO INSTEAD \
AND I.oid = X.indexrelid;"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
if
[
-f
$PGLIB
/plpgsql__DLSUFFIX__
]
;
then
echo
"Installing PL/pgSQL as trusted procedural language"
echo
"CREATE FUNCTION plpgsql_call_handler () RETURNS opaque
\
AS '
$PGLIB
/plpgsql__DLSUFFIX__' LANGUAGE 'C';"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
echo
"CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql'
\
HANDLER plpgsql_call_handler LANCOMPILER 'PL/pgSQL';"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
fi
if
[
-f
$PGLIB
/pltcl__DLSUFFIX__
]
;
then
echo
"Installing PL/Tcl as trusted procedural language"
echo
"CREATE FUNCTION pltcl_call_handler () RETURNS opaque
\
AS '
$PGLIB
/pltcl__DLSUFFIX__' LANGUAGE 'C';"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
echo
"CREATE TRUSTED PROCEDURAL LANGUAGE 'pltcl'
\
HANDLER pltcl_call_handler LANCOMPILER 'PL/Tcl';"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
fi
echo
"Loading pg_description"
echo
"copy pg_description from '
$TEMPLATE_DESCR
'"
|
\
postgres
$PGSQL_OPT
template1
>
/dev/null
...
...
src/test/regress/sql/tests
浏览文件 @
ca00c902
...
...
@@ -66,6 +66,5 @@ alter_table
portals_p2
rules
limit
install_plpgsql
plpgsql
temp
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录