Skip to content

Commit d74b590

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 3be30d0 commit d74b590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/misc/injection_point.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ typedef struct InjectionPointEntry
6060
*/
6161
pg_atomic_uint64 generation;
6262

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

0 commit comments

Comments
 (0)