本文共 662 字,大约阅读时间需要 2 分钟。
接前文 看 pg_control_version
以PostgreSQL9.1.1为了,其HISTORY文件中有如下的内容:
Release 9.1.2Release Date: 2011-12-05This release contains a variety of fixes from 9.1.1. For informationabout new features in the 9.1 major release, see the Section calledRelease 9.1.
早就写死了:
static voidWriteControlFile(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,如需转载请自行联系原作者