Re: Another incorrect comment for pg_stat_statements

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Another incorrect comment for pg_stat_statements
Дата
Msg-id ZJvi/Y9tXVsbmdNk@paquier.xyz
обсуждение исходный текст
Ответ на Re: Another incorrect comment for pg_stat_statements  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Another incorrect comment for pg_stat_statements  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
On Wed, Jun 28, 2023 at 03:09:55PM +0800, Richard Guo wrote:
> +1.  To nitpick, how about we remove the blank line just before removing
> the key for top level entry?
>
> -  /* Also remove entries for top level statements */
> +  /* Also remove entries if exist for top level statements */
>    key.toplevel = true;
> -
> -  /* Remove the key if exists */
>    entry = (pgssEntry *) hash_search(pgss_hash, &key, HASH_REMOVE, NULL);

Why not if it improves the overall situation.  Could you send a patch
with everything you have in mind?
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Add TLI number to name of files generated by pg_waldump --save-fullpage
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Commitfest manager for July