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

From Adrien NAYRAT
Subject Re: New GUC to sample log queries
Date
Msg-id 031c66cb-95f4-fb31-3676-023a0f1d438d@anayrat.info
Whole thread Raw
In response to Re: New GUC to sample log queries  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 11/29/18 10:48 PM, Alvaro Herrera wrote:
> Thanks!  I pushed this with two changes -- one was to reword the docs a
> bit more, and the other was to compute in_sample only if it's going to
> be used (when exceeded is true).  I hope this won't upset any compilers ...

Thanks!

> 
> I wonder if there's any sensible way to verify the behavior in an
> automated fashion.  Who know what marvels we'd discover about the
> reliability/uniformity of random() across platforms.
> 

Yes, I also wondered how to add tests.


pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: pg_config wrongly marked as not parallel safe?
Next
From: Adrien NAYRAT
Date:
Subject: Re: New GUC to sample log queries