Re: New GUC to sample log queries - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: New GUC to sample log queries
Date
Msg-id CAEepm=1KmyiHiXUdMKwkCXfwDD45fRAO5YuJ7zhSNHSjFUQseg@mail.gmail.com
Whole thread Raw
In response to Re: New GUC to sample log queries  (Adrien Nayrat <adrien.nayrat@anayrat.info>)
Responses Re: New GUC to sample log queries  (Adrien Nayrat <adrien.nayrat@anayrat.info>)
List pgsql-hackers
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]

--
Thomas Munro
http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: [HACKERS] Time to change pg_regress diffs to unified by default?
Next
From: David Fetter
Date:
Subject: Re: Constraint documentation