From 8ff44d8e0563df94c0820eb3e081fc2df39568f3 Mon Sep 17 00:00:00 2001 From: ChangAo Chen Date: Thu, 18 Dec 2025 14:22:06 +0800 Subject: [PATCH v1] Fix outdated comments in catcache.h --- src/include/utils/catcache.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/include/utils/catcache.h b/src/include/utils/catcache.h index fdd733cf7d8..1ba970e3602 100644 --- a/src/include/utils/catcache.h +++ b/src/include/utils/catcache.h @@ -144,9 +144,6 @@ typedef struct catctup * object contains links to cache entries for all the table rows satisfying * the partial key. (Note: none of these will be negative cache entries.) * - * A CatCList is only a member of a per-cache list; we do not currently - * divide them into hash buckets. - * * A list marked "dead" must not be returned by subsequent searches. * However, it won't be physically deleted from the cache until its * refcount goes to zero. (A list should be marked dead if any of its @@ -163,7 +160,7 @@ typedef struct catclist * Keep the dlist_node field first so that Valgrind understands the struct * is reachable. */ - dlist_node cache_elem; /* list member of per-catcache list */ + dlist_node cache_elem; /* list member of per-bucket list */ int cl_magic; /* for identifying CatCList entries */ #define CL_MAGIC 0x52765103 -- 2.34.1