Fix function name reference in comment master /master
authorDaniel Gustafsson <[email protected]>
Sun, 18 May 2025 08:05:38 +0000 (10:05 +0200)
committerDaniel Gustafsson <[email protected]>
Sun, 18 May 2025 08:05:38 +0000 (10:05 +0200)
Ensure that we refer to the function being used, rather than the
name of the resulting function in question.

Author: Paul A Jungwirth <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: https://postgr.es/m/CA+renyVZNiHEv5ceKDjA4j5xC6NT6mRuW33BDERBQMi_90_t6A@mail.gmail.com

src/backend/utils/cache/syscache.c

index 95a1d0a27490141209eded818f230f3b4104a02a..f944453a1d8846a435528ff63bc519014191c6b1 100644 (file)
@@ -396,7 +396,7 @@ SearchSysCacheCopy(int cacheId,
 /*
  * SearchSysCacheLockedCopy1
  *
 /*
  * SearchSysCacheLockedCopy1
  *
- * Meld SearchSysCacheLockedCopy1 with SearchSysCacheCopy().  After the
+ * Meld SearchSysCacheLocked1 with SearchSysCacheCopy().  After the
  * caller's heap_update(), it should UnlockTuple(InplaceUpdateTupleLock) and
  * heap_freetuple().
  */
  * caller's heap_update(), it should UnlockTuple(InplaceUpdateTupleLock) and
  * heap_freetuple().
  */