Re: New GUC to sample log queries

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: New GUC to sample log queries
Дата
Msg-id 9645101543575886@myt6-27270b78ac4f.qloud-c.yandex.net
обсуждение исходный текст
Ответ на Re: New GUC to sample log queries  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: New GUC to sample log queries
Список pgsql-hackers
Hello

I can not build current HEAD cleanly. I got warning:

> postgres.c: In function ‘check_log_duration’:
> postgres.c:2254:17: warning: ‘in_sample’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>   if ((exceeded && in_sample) || log_duration)

Should not we have such change?

> -        bool        in_sample;
> +        bool        in_sample = false;

thank you!

regards, Sergei


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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: de-deduplicate code in DML execution hooks in postgres_fdw
Следующее
От: Arthur Zakirov
Дата:
Сообщение: Re: Add extension options to control TAP and isolation tests