Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
a0cc9f3c
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,发现更多精彩内容 >>
提交
a0cc9f3c
编写于
7月 22, 2003
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add GUC parameter to control rendezvous name.
上级
25114d3e
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
38 addition
and
15 deletion
+38
-15
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+11
-1
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+14
-12
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+10
-1
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-0
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+2
-1
未找到文件。
doc/src/sgml/runtime.sgml
浏览文件 @
a0cc9f3c
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.19
3 2003/07/14 20:00:22 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.19
4 2003/07/22 20:29:13 momjian
Exp $
-->
<Chapter Id="runtime">
...
...
@@ -732,6 +732,16 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem>
</varlistentry>
<varlistentry>
<term><varname>RENDEZVOUS_NAME</varname> (<type>string</type>)</term>
<listitem>
<para>
Specifies the Rendezvous broadcast name. By default, the
computer name is used, specified as ''.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="runtime-config-connection-security">
...
...
src/backend/postmaster/postmaster.c
浏览文件 @
a0cc9f3c
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.33
4 2003/07/22 19:00:10 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.33
5 2003/07/22 20:29:13 momjian
Exp $
*
* NOTES
*
...
...
@@ -210,6 +210,8 @@ bool LogSourcePort;
bool
Log_connections
=
false
;
bool
Db_user_namespace
=
false
;
char
*
rendezvous_name
;
/* For FNCTL_NONBLOCK */
#if defined(WIN32) || defined(__BEOS__)
long
ioctlsocket_ret
;
...
...
@@ -772,9 +774,9 @@ PostmasterMain(int argc, char *argv[])
}
}
#ifdef USE_RENDEZVOUS
if
(
service
_name
!=
NULL
)
if
(
rendezvous
_name
!=
NULL
)
{
DNSServiceRegistrationCreate
(
NULL
,
/* default to hostname */
DNSServiceRegistrationCreate
(
rendezvous_name
,
"_postgresql._tcp."
,
""
,
htonl
(
PostPortNumber
),
...
...
src/backend/utils/misc/guc.c
浏览文件 @
a0cc9f3c
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.13
7 2003/07/15 19:19:56 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.13
8 2003/07/22 20:29:13 momjian
Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -1299,6 +1299,15 @@ static struct config_string ConfigureNamesString[] =
PG_KRB_SRVTAB
,
NULL
,
NULL
},
{
{
"rendezvous_name"
,
PGC_POSTMASTER
,
CONN_AUTH_SETTINGS
,
gettext_noop
(
"The Rendezvous broadcast service name"
),
NULL
},
&
rendezvous_name
,
""
,
NULL
,
NULL
},
/* See main.c about why defaults for LC_foo are not all alike */
{
...
...
src/backend/utils/misc/postgresql.conf.sample
浏览文件 @
a0cc9f3c
...
...
@@ -38,6 +38,7 @@
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal
#virtual_host = ''
#rendezvous_name = '' # defaults to the computer name
# - Security & Authentication -
...
...
src/include/tcop/tcopprot.h
浏览文件 @
a0cc9f3c
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: tcopprot.h,v 1.5
7 2003/05/05 00:44:56 tgl
Exp $
* $Id: tcopprot.h,v 1.5
8 2003/07/22 20:29:13 momjian
Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
...
...
@@ -32,6 +32,7 @@ extern CommandDest whereToSendOutput;
extern
bool
log_hostname
;
extern
bool
LogSourcePort
;
extern
DLLIMPORT
const
char
*
debug_query_string
;
extern
char
*
rendezvous_name
;
#ifndef BOOTSTRAP_INCLUDE
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录