[HACKERS] During Xlog replaying, is there maybe emitted xlog?

2012-07-17 Thread xu2002261
Hi all, I reviewed the source code, and saw the following calling path: StartupXLOG() StartupDatabase() RmgrTable[rmid].rm_cleanup() btree_xlog_cleanup() _bt_insert_parent _bt_insertonpg() XLogInsert() As we can see, during xlog replaying, XLog may be emitted. So whether there

Re: [HACKERS] During Xlog replaying, is there maybe emitted xlog?

2012-07-17 Thread Tom Lane
xu2002261 xu2002...@163.com writes: Hi all, I reviewed the source code, and saw the following calling path: StartupXLOG() StartupDatabase() RmgrTable[rmid].rm_cleanup() btree_xlog_cleanup() _bt_insert_parent _bt_insertonpg() XLogInsert() As we can see, during xlog

Re: [HACKERS] During Xlog replaying, is there maybe emitted xlog?

2012-07-17 Thread xu2002261
Thanks a lot. oops, indeed, the clean up stage is not in the XLog replay, So there is no problem. 2012-07-18 xu2002261 发件人: Tom Lane 发送时间: 2012-07-18 10:05:26 收件人: xu2002261 抄送: pgsql-hackers 主题: Re: [HACKERS] During Xlog replaying, is there maybe emitted xlog? xu2002261