提交 f458c90b 编写于 作者: B Bruce Momjian

Add C comment about why we send cache invalidation messages for

session-local objects.
上级 56a9ed92
......@@ -812,6 +812,10 @@ ProcessCommittedInvalidationMessages(SharedInvalidationMessage *msgs,
* about CurrentCmdInvalidMsgs too, since those changes haven't touched
* the caches yet.
*
* We still send invalidation messages for session-local objects to other
* backends because, while other backends cannot see any tuples, they can
* drop tables that are session-local to another session.
*
* In any case, reset the various lists to empty. We need not physically
* free memory here, since TopTransactionContext is about to be emptied
* anyway.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册