Skip to content

Commit 73731b2

Browse files
committed
Fix comment in injection_point.c
InjectionPointEntry->name was described as a hash key, which was fine when introduced in d86d20f, but it is not now. Oversight in 86db52a, that has changed the way injection points are stored in shared memory from a hash table to an array. Backpatch-through: 17
1 parent 7af6d13 commit 73731b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/misc/injection_point.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef struct InjectionPointEntry
5959
*/
6060
pg_atomic_uint64 generation;
6161

62-
char name[INJ_NAME_MAXLEN]; /* hash key */
62+
char name[INJ_NAME_MAXLEN]; /* point name */
6363
char library[INJ_LIB_MAXLEN]; /* library */
6464
char function[INJ_FUNC_MAXLEN]; /* function */
6565

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy