aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2025-05-18 10:05:38 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2025-05-18 10:05:38 +0200
commit0d4dad200d78da6c1c2c705315a04c2080cdd975 (patch)
tree9168bd5504c264eb7cbc9676dfcef6e85b9dec00
parent5987553fde2cb22b69cf9c7d71a92573b7a3b7c9 (diff)
downloadpostgresql-0d4dad200d78da6c1c2c705315a04c2080cdd975.tar.gz
postgresql-0d4dad200d78da6c1c2c705315a04c2080cdd975.zip
Fix function name reference in commentHEADmaster
Ensure that we refer to the function being used, rather than the name of the resulting function in question. Author: Paul A Jungwirth <pj@illuminatedcomputing.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CA+renyVZNiHEv5ceKDjA4j5xC6NT6mRuW33BDERBQMi_90_t6A@mail.gmail.com
-rw-r--r--src/backend/utils/cache/syscache.c2
1 files changed, 1 insertions, 1 deletions
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().
*/