Re: Another incorrect comment for pg_stat_statements

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: Another incorrect comment for pg_stat_statements
Дата
Msg-id
ZJvbkLdx5cqXBJGl@paquier.xyz
Ответ на
Список
Дерево обсуждения
Another incorrect comment for pg_stat_statements Japin Li <japinli@hotmail.com>
Re: Another incorrect comment for pg_stat_statements Richard Guo <guofenglinux@gmail.com>
Re: Another incorrect comment for pg_stat_statements Japin Li <japinli@hotmail.com>
Re: Another incorrect comment for pg_stat_statements Michael Paquier <michael@paquier.xyz>
Re: Another incorrect comment for pg_stat_statements Richard Guo <guofenglinux@gmail.com>
Re: Another incorrect comment for pg_stat_statements Michael Paquier <michael@paquier.xyz>
Re: Another incorrect comment for pg_stat_statements Richard Guo <guofenglinux@gmail.com>
Re: Another incorrect comment for pg_stat_statements Japin Li <japinli@hotmail.com>
Re: Another incorrect comment for pg_stat_statements Michael Paquier <michael@paquier.xyz>
Re: Another incorrect comment for pg_stat_statements Richard Guo <guofenglinux@gmail.com>
Re: Another incorrect comment for pg_stat_statements Japin Li <japinli@hotmail.com>
On Wed, Jun 28, 2023 at 12:15:47PM +0800, Japin Li wrote:
> -		/* Remove the key if it exists, starting with the top-level entry  */
> +		/* Remove the key if it exists, starting with the non-top-level entry */
>  		key.toplevel = false;
>  		entry = (pgssEntry *) hash_search(pgss_hash, &key, HASH_REMOVE, NULL);
>  		if (entry)				/* found */

Nice catch.  That's indeed wrong.  Will fix.
--
Michael
В списке pgsql-hackers по дате отправления
От: Richard Guo
Дата:
От: Richard Guo
Дата:
FAQ