Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf458c90

Browse files
committed
Add C comment about why we send cache invalidation messages for
session-local objects.
1 parent56a9ed9 commitf458c90

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/backend/utils/cache/inval.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,10 @@ ProcessCommittedInvalidationMessages(SharedInvalidationMessage *msgs,
812812
* about CurrentCmdInvalidMsgs too, since those changes haven't touched
813813
* the caches yet.
814814
*
815+
* We still send invalidation messages for session-local objects to other
816+
* backends because, while other backends cannot see any tuples, they can
817+
* drop tables that are session-local to another session.
818+
*
815819
* In any case, reset the various lists to empty. We need not physically
816820
* free memory here, since TopTransactionContext is about to be emptied
817821
* anyway.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp