Fix typos in wait_event.c
authorMichael Paquier <michael@paquier.xyz>
Mon, 23 Oct 2023 23:05:29 +0000 (08:05 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 23 Oct 2023 23:05:29 +0000 (08:05 +0900)
Noticed while working on a different patch.  Introduced in af720b4c50a1.

src/backend/utils/activity/wait_event.c

index 4e112560da1f2ca25eab3c08828dbb68bca38a3a..baef91928f797daa755f2468978f59c9b40c6a0b 100644 (file)
@@ -56,9 +56,9 @@ uint32           *my_wait_event_info = &local_my_wait_event_info;
  * It is used to ensure that no duplicated entries are registered.
  *
  * The size of the hash table is based on the assumption that
- * WAIT_EVENT_EXTENSION_BASH_INIT_SIZE is enough for most cases, and it seems
+ * WAIT_EVENT_EXTENSION_HASH_INIT_SIZE is enough for most cases, and it seems
  * unlikely that the number of entries will reach
- * WAIT_EVENT_EXTENSION_BASH_MAX_SIZE.
+ * WAIT_EVENT_EXTENSION_HASH_MAX_SIZE.
  */
 static HTAB *WaitEventExtensionHashById;       /* find names from IDs */
 static HTAB *WaitEventExtensionHashByName;     /* find IDs from names */