初步学习pg_control文件之七

简介:

接前文 初步学习pg_control文件之六  看   pg_control_version

以PostgreSQL9.1.1为了,其HISTORY文件中有如下的内容:

复制代码
Release 9.1.2

Release Date: 2011-12-05

This release contains a variety of fixes from 9.1.1. For information
about new features in the 9.1 major release, see the Section called
Release 9.1.
复制代码

 早就写死了: 

复制代码
static void
WriteControlFile(void)
{
    ...
    /*
     * Initialize version and compatibility-check fields
     */
    ControlFile->pg_control_version = PG_CONTROL_VERSION;
    ...

}
复制代码

pg_control.h中有:

/* Version identifier for this pg_control format */
#define PG_CONTROL_VERSION    903

WriteControlFile被  BootStrapXLOG 所调用(仅仅是安装的时候调用一次)







本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/3228235.html,如需转载请自行联系原作者


目录
相关文章
|
3月前
|
存储 缓存 监控
GitlabCI学习笔记之五:GitLabRunner pipeline语法之cache
GitlabCI学习笔记之五:GitLabRunner pipeline语法之cache
|
C#
WPF整理-为User Control添加依赖属性
原文:WPF整理-为User Control添加依赖属性 依赖属性 ".NET properties are nothing more than syntactic sugar over set and get methods." 我们知道.NET的属性只不过是get/set方法的语法糖衣。
871 0
|
关系型数据库 PostgreSQL