Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
aead4966
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,发现更多精彩内容 >>
提交
aead4966
编写于
11月 15, 2002
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename show_source_port to log_source_port.
上级
559b6c7c
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+2
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+3
-3
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+2
-2
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-1
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+2
-2
未找到文件。
doc/src/sgml/runtime.sgml
浏览文件 @
aead4966
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.15
2 2002/11/15 00:47:22
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.15
3 2002/11/15 01:40:15
momjian Exp $
-->
<Chapter Id="runtime">
...
...
@@ -1124,7 +1124,7 @@ env PGOPTIONS='-c geqo=off' psql
</varlistentry>
<varlistentry>
<term><varname>
SHOW
_SOURCE_PORT</varname> (<type>boolean</type>)</term>
<term><varname>
LOG
_SOURCE_PORT</varname> (<type>boolean</type>)</term>
<listitem>
<para>
Shows the outgoing port number of the connecting host in the
...
...
src/backend/postmaster/postmaster.c
浏览文件 @
aead4966
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.29
4 2002/11/14 23:53:27
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.29
5 2002/11/15 01:40:18
momjian Exp $
*
* NOTES
*
...
...
@@ -200,7 +200,7 @@ int AuthenticationTimeout = 60;
int
CheckPointTimeout
=
300
;
bool
HostnameLookup
;
/* for ps display */
bool
ShowPortNumber
;
bool
LogSourcePort
;
bool
Log_connections
=
false
;
bool
Db_user_namespace
=
false
;
...
...
@@ -2119,7 +2119,7 @@ DoBackend(Port *port)
elog
(
LOG
,
"connection received: host=%s port=%hu"
,
remote_host
,
remote_port
);
if
(
ShowPortNumber
)
if
(
LogSourcePort
)
{
/* modify remote_host for use in ps status */
int
slen
=
strlen
(
remote_host
)
+
10
;
...
...
src/backend/utils/misc/guc.c
浏览文件 @
aead4966
...
...
@@ -5,7 +5,7 @@
* command, configuration file, and command line options.
* See src/backend/utils/misc/README for more information.
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.10
3 2002/11/15 01:26:0
9 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.10
4 2002/11/15 01:40:1
9 momjian Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
...
...
@@ -480,7 +480,7 @@ static struct config_bool
false
,
NULL
,
NULL
},
{
{
"
show_source_port"
,
PGC_SIGHUP
},
&
ShowPortNumber
,
{
"
log_source_port"
,
PGC_SIGHUP
},
&
LogSourcePort
,
false
,
NULL
,
NULL
},
...
...
src/backend/utils/misc/postgresql.conf.sample
浏览文件 @
aead4966
...
...
@@ -35,7 +35,6 @@
#port = 5432
#hostname_lookup = false
#show_source_port = false
#unix_socket_directory = ''
#unix_socket_group = ''
...
...
@@ -122,6 +121,7 @@
#silent_mode = false
#log_connections = false
#log_source_port = false
#log_pid = false
#log_statement = false
#log_duration = false
...
...
src/include/tcop/tcopprot.h
浏览文件 @
aead4966
...
...
@@ -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
1 2002/10/21 18:57:35 petere
Exp $
* $Id: tcopprot.h,v 1.5
2 2002/11/15 01:40:20 momjian
Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
...
...
@@ -31,7 +31,7 @@ extern bool Warn_restart_ready;
extern
bool
InError
;
extern
CommandDest
whereToSendOutput
;
extern
bool
HostnameLookup
;
extern
bool
ShowPortNumber
;
extern
bool
LogSourcePort
;
extern
DLLIMPORT
char
*
debug_query_string
;
#ifndef BOOTSTRAP_INCLUDE
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录