Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
efa8544f
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,发现更多精彩内容 >>
提交
efa8544f
编写于
6月 18, 2009
作者:
H
Heikki Linnakangas
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix a few errors in comments. Patch by Fujii Masao, plus the one in
visibilitymap.c by me.
上级
f08e5e92
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
9 deletion
+9
-9
contrib/pg_standby/pg_standby.c
contrib/pg_standby/pg_standby.c
+2
-2
src/backend/access/heap/visibilitymap.c
src/backend/access/heap/visibilitymap.c
+3
-3
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+4
-4
未找到文件。
contrib/pg_standby/pg_standby.c
浏览文件 @
efa8544f
/*
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
3 2009/06/11 14:48:51 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
4 2009/06/18 10:08:08 heikki
Exp $
*
*
* pg_standby.c
...
...
@@ -448,7 +448,7 @@ CheckForExternalTrigger(void)
/*
* Turn it into a "smart" trigger by truncating the file. Otherwise if
* the server asks us again to restore a segment that was restored
*
restored
already, we would return "not found" and upset the server.
* already, we would return "not found" and upset the server.
*/
if
(
ftruncate
(
fd
,
0
)
<
0
)
{
...
...
src/backend/access/heap/visibilitymap.c
浏览文件 @
efa8544f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.
4 2009/06/11 14:48:54 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.
5 2009/06/18 10:08:08 heikki
Exp $
*
* INTERFACE ROUTINES
* visibilitymap_clear - clear a bit in the visibility map
...
...
@@ -98,8 +98,8 @@
/*
* Size of the bitmap on each visibility map page, in bytes. There's no
* extra headers, so the whole page minus
except for the standard page header
*
is
used for the bitmap.
* extra headers, so the whole page minus
the standard page header is
* used for the bitmap.
*/
#define MAPSIZE (BLCKSZ - MAXALIGN(SizeOfPageHeaderData))
...
...
src/backend/tcop/postgres.c
浏览文件 @
efa8544f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.56
7 2009/06/11 14:49:02 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.56
8 2009/06/18 10:08:08 heikki
Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -2924,8 +2924,8 @@ PostgresMain(int argc, char *argv[], const char *username)
* If the databasename is omitted it is taken to be the user name.
*
* When started from the postmaster, the format is
* postgres [secure switches] -
p
databasename [insecure switches]
* Switches appearing after -
p
came from the client (via "options"
* postgres [secure switches] -
y
databasename [insecure switches]
* Switches appearing after -
y
came from the client (via "options"
* field of connection request). For security reasons we restrict
* what these switches can do.
* ----------------
...
...
@@ -2938,7 +2938,7 @@ PostgresMain(int argc, char *argv[], const char *username)
argc
--
;
}
/* all options are allowed until '-
p
' */
/* all options are allowed until '-
y
' */
secure
=
true
;
ctx
=
PGC_POSTMASTER
;
gucsource
=
PGC_S_ARGV
;
/* initial switches came from command line */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录