Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9109e6

Browse files
authored
Fix the doc: profile_queries is "true" by default
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`.
1 parent 790ac4e commit a9109e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ GUCs.
125125
| pg_wait_sampling.history_period | int4 | Period for history sampling in milliseconds | 10 |
126126
| pg_wait_sampling.profile_period | int4 | Period for profile sampling in milliseconds | 10 |
127127
| pg_wait_sampling.profile_pid | bool | Whether profile should be per pid | true |
128-
| pg_wait_sampling.profile_queries | bool | Whether profile should be per query | false |
128+
| pg_wait_sampling.profile_queries | bool | Whether profile should be per query | true |
129129

130130
If `pg_wait_sampling.profile_pid` is set to false, sampling profile wouldn't be
131131
collected in per-process manner. In this case the value of pid could would

0 commit comments

Comments
 (0)