Content-Length: 258819 | pFad | http://github.com/postgrespro/postgres/commit/d74b590983d18b7c5bdc1679ce85b1600871d874

E6 Fix comment in injection_point.c · postgrespro/postgres@d74b590 · GitHub
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d74b590983d18b7c5bdc1679ce85b1600871d874

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy