Re: Log a sample of transactions

Adrien Nayrat <adrien.nayrat@anayrat.info>

From: Adrien NAYRAT <adrien.nayrat@anayrat.info>
To: "Kuroda, Hayato" <kuroda.hayato@jp.fujitsu.com>, "'pgsql-hackers@lists.postgresql.org'" <pgsql-hackers@lists.postgresql.org>
Date: 2019-01-16T08:34:33Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Tweak docs for log_statement_sample_rate

On 1/16/19 1:40 AM, Kuroda, Hayato wrote:
> By the way, I think the name of this parameter should be changed.
> In the Cambridge dictionary, the word "rate" means as follows:
> 
> the speed at which something happens or changes,
> or the amount or number of times it happens or changes in a particular period.
> 
> This parameter represents "probability" whether it log,
> therefore this name is inappropriate.
> You should use "probability" or "ratio", I think.

Hum, I am not an english native speaker, I choosed "rate" because it is 
already used for auto_explain.sample_rate and for log_statement_sample_rate

> 
> 
> Next week I will give you some comments about your good source.

Thanks!