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

From Alvaro Herrera
Subject Re: New GUC to sample log queries
Date
Msg-id 20181129214850.kiq6mvofsgplqjdr@alvherre.pgsql
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
Re: New GUC to sample log queries
Re: New GUC to sample log queries
random() (was Re: New GUC to sample log queries)
List pgsql-hackers
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 ...

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.

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


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] GnuTLS support
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Change "checkpoint starting" message to use "wal"