mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Fix comment in injection_point.c
InjectionPointEntry->name was described as a hash key, which was fine when introduced ind86d20f0ba, but it is not now. Oversight in86db52a506, that has changed the way injection points are stored in shared memory from a hash table to an array. Backpatch-through: 17
This commit is contained in:
		| @@ -60,7 +60,7 @@ typedef struct InjectionPointEntry | |||||||
| 	 */ | 	 */ | ||||||
| 	pg_atomic_uint64 generation; | 	pg_atomic_uint64 generation; | ||||||
|  |  | ||||||
| 	char		name[INJ_NAME_MAXLEN];	/* hash key */ | 	char		name[INJ_NAME_MAXLEN];	/* point name */ | ||||||
| 	char		library[INJ_LIB_MAXLEN];	/* library */ | 	char		library[INJ_LIB_MAXLEN];	/* library */ | ||||||
| 	char		function[INJ_FUNC_MAXLEN];	/* function */ | 	char		function[INJ_FUNC_MAXLEN];	/* function */ | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user