Re: New GUC to sample log queries

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: New GUC to sample log queries
Дата
Msg-id 20181130122259.mgsarkudxptq4z5w@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: New GUC to sample log queries  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: New GUC to sample log queries  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-hackers
On 2018-Nov-30, Sergei Kornilov wrote:

> 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)

Ah, I feared that some compiler would not be smart enough to be silent
about that.  I hope it does not emit a warning with this patch?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Dmitry Dolgov
Дата:
Сообщение: Re: GiST VACUUM
Следующее
От: Sergei Kornilov
Дата:
Сообщение: Re: New GUC to sample log queries