From c8c79a425b0db0407bddaafac61ab0475d442bf3 Mon Sep 17 00:00:00 2001 From: Steven Niu Date: Mon, 27 Oct 2025 10:18:56 +0800 Subject: [PATCH] remove obsolete comment in AtEOXact_Inval There are many other steps after function AtEOXact_Inval() is called in processing a transaction. So the comment of function AtEOXact_Inval() "This should be called as the last step in processing a transaction." is obsolete and should be deleted. Author: Steven Niu --- src/backend/utils/cache/inval.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c index 02505c88b8e..e6a93229e6f 100644 --- a/src/backend/utils/cache/inval.c +++ b/src/backend/utils/cache/inval.c @@ -1191,9 +1191,6 @@ ProcessCommittedInvalidationMessages(SharedInvalidationMessage *msgs, * In any case, reset our state to empty. We need not physically * free memory here, since TopTransactionContext is about to be emptied * anyway. - * - * Note: - * This should be called as the last step in processing a transaction. */ void AtEOXact_Inval(bool isCommit) -- 2.43.0