Re: New GUC to sample log queries

Поиск
Список
Период
Сортировка
От Adrien Nayrat
Тема Re: New GUC to sample log queries
Дата
Msg-id 57f6714a-ae2c-8fd3-0776-473a4e765f63@anayrat.info
обсуждение исходный текст
Ответ на Re: New GUC to sample log queries  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: New GUC to sample log queries  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 11/26/18 12:40 AM, Thomas Munro wrote:
> On Wed, Nov 21, 2018 at 9:06 PM Adrien Nayrat
> <adrien.nayrat@anayrat.info> wrote:
>> Thanks for your comments. Here is the updated patch. I fixed a warning for
>> missing parentheses in this expression:
>> if ((exceeded && in_sample) || log_duration)
> 
> Hi Adrien,
> 
> GCC 4.8 says:
> 
> guc.c:3328:3: error: initialization makes integer from pointer without
> a cast [-Werror]
> },
> ^
> guc.c:3328:3: error: (near initialization for
> ‘ConfigureNamesReal[19].gen.flags’) [-Werror]
> 

Sorry, I missed this warning. There was one extra NULL in guc.c.

Here is a new patch.
Thanks

Вложения

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

Предыдущее
От: Nikolay Shaplov
Дата:
Сообщение: Re: Add extension options to control TAP and isolation tests
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Add extension options to control TAP and isolation tests