Re: auto_explain sample rate - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: auto_explain sample rate
Date
Msg-id 56E1E22B.1030808@2ndquadrant.com
Whole thread Raw
In response to Re: auto_explain sample rate  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Responses Re: auto_explain sample rate  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 10/03/16 20:59, Julien Rouhaud wrote:
> On 10/03/2016 04:37, Petr Jelinek wrote:
>> On 17/02/16 01:17, Julien Rouhaud wrote:
>>>
>>> Agreed, it's too obscure. Attached v4 fixes as you said.
>>>
>>
>> Seems to be simple enough patch and works. However I would like
>> documentation to say that the range is 0 to 1 and represents fraction of
>> the queries sampled, because right now both the GUC description and the
>> documentation say it's in percent but that's not really true as percent
>> is 0 to 100.
>>
>
> Agreed. v5 attached fixes that.
>

Great, I will test it once more (just because when I don't bugs suddenly 
appear out of nowhere) and mark it ready for committer.

--   Petr Jelinek                  http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: WIP: Detecting SSI conflicts before reporting constraint violations
Next
From: Robert Haas
Date:
Subject: Re: Freeze avoidance of very large table.