From a9109e6693d5c49115725ff8f2ad8c176ca5f11c Mon Sep 17 00:00:00 2001 From: Nikolay Samokhvalov Date: Tue, 28 Sep 2021 09:07:04 -0700 Subject: [PATCH] Fix the doc: profile_queries is "true" by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Noticed that `profile_queries` is `true` by default (and per https://github.com/postgrespro/pg_wait_sampling/blob/3feb2f98433afb8150d44a0bf8ffad047f89c20b/pg_wait_sampling.c#L193) – while README claims it's `false`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e47ad1..aa539d8 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ GUCs. | pg_wait_sampling.history_period | int4 | Period for history sampling in milliseconds | 10 | | pg_wait_sampling.profile_period | int4 | Period for profile sampling in milliseconds | 10 | | pg_wait_sampling.profile_pid | bool | Whether profile should be per pid | true | -| pg_wait_sampling.profile_queries | bool | Whether profile should be per query | false | +| pg_wait_sampling.profile_queries | bool | Whether profile should be per query | true | If `pg_wait_sampling.profile_pid` is set to false, sampling profile wouldn't be collected in per-process manner. In this case the value of pid could would