开始先给 shmem.c 中增加代码(用来打印全局变量 ShmemIndex)void getmemPointer(){ fprintf(stderr,"ShmemIndex ShmemIndex is %ld \n", ShmemIndex); return;}然后,分别在 bgwriter.c 和 walwriter.c 中,增加如下代码:/* * Main entry point for bgwriter process * * This is invoked from AuxiliaryProcessMain, which has already created t
转载
2012-11-06 17:32:00
68阅读
2评论