Re: Log statement sample - take two - Mailing list pgsql-hackers

From Adrien Nayrat
Subject Re: Log statement sample - take two
Date
Msg-id bafeeb96-7a1e-405e-ad63-d62ee77f2e45@anayrat.info
Whole thread Raw
In response to Re: Log statement sample - take two  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Log statement sample - take two  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
On 11/4/19 2:08 AM, Tomas Vondra wrote:
> 
> Seems fine to me, mostly. I think the docs should explain how
> log_min_duration_statement interacts with log_min_duration_sample.
> Attached is a patch doing that, by adding one para to each GUC, along
> with some minor rewordings. I think the docs are mixing "sampling"
> vs. "logging" and "durations" vs. "statements" not sure.

Thanks for the rewording, it's clearer now.

> 
> I also think the two new sampling GUCs (log_min_duration_sample and
> log_statement_sample_rate) should be next to each other. We're not
> ordering the GUCs alphabetically anyway.

+1

> 
> I plan to make those changes and push in a couple days.
> 

Thanks!



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: v12 and pg_restore -f-
Next
From: Alvaro Herrera
Date:
Subject: Re: Obsolete comment in partbounds.c