From: Daniel Gustafsson Date: Sun, 18 May 2025 08:05:38 +0000 (+0200) Subject: Fix function name reference in comment X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;p=postgresql.git Fix function name reference in comment Ensure that we refer to the function being used, rather than the name of the resulting function in question. Author: Paul A Jungwirth Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/CA+renyVZNiHEv5ceKDjA4j5xC6NT6mRuW33BDERBQMi_90_t6A@mail.gmail.com --- diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index 95a1d0a2749..f944453a1d8 100644 --- a/src/backend/utils/cache/syscache.c +++ b/src/backend/utils/cache/syscache.c @@ -396,7 +396,7 @@ SearchSysCacheCopy(int cacheId, /* * SearchSysCacheLockedCopy1 * - * Meld SearchSysCacheLockedCopy1 with SearchSysCacheCopy(). After the + * Meld SearchSysCacheLocked1 with SearchSysCacheCopy(). After the * caller's heap_update(), it should UnlockTuple(InplaceUpdateTupleLock) and * heap_freetuple(). */