Commit 7550619
committed
Revert "Add log_statement_sample_rate parameter"
This reverts commit 88bdbd3.
As committed, statement sampling used the existing duration threshold
(log_min_duration_statement) when decide which statements to sample.
The issue is that even the longest statements are subject to sampling,
and so may not end up logged. An improvement was proposed, introducing
a second duration threshold, but it would not be backwards compatible.
So we've decided to revert this feature - the separate threshold should
be part of the feature itself.
Discussion: https://postgr.es/m/CAFj8pRDS8tQ3Wviw9%3DAvODyUciPSrGeMhJi_WPE%2BEB8%2B4gLL-Q%40mail.gmail.com1 parent 4f9ed8f commit 7550619
File tree
5 files changed
+13
-65
lines changed- doc/src/sgml
- src
- backend
- tcop
- utils/misc
- include/utils
5 files changed
+13
-65
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5850 | 5850 | | |
5851 | 5851 | | |
5852 | 5852 | | |
5853 | | - | |
5854 | | - | |
5855 | | - | |
5856 | | - | |
5857 | | - | |
5858 | | - | |
5859 | | - | |
| 5853 | + | |
| 5854 | + | |
| 5855 | + | |
| 5856 | + | |
| 5857 | + | |
| 5858 | + | |
5860 | 5859 | | |
5861 | 5860 | | |
5862 | 5861 | | |
| |||
5882 | 5881 | | |
5883 | 5882 | | |
5884 | 5883 | | |
5885 | | - | |
5886 | | - | |
5887 | | - | |
5888 | | - | |
5889 | | - | |
5890 | | - | |
5891 | | - | |
5892 | | - | |
5893 | | - | |
5894 | | - | |
5895 | | - | |
5896 | | - | |
5897 | | - | |
5898 | | - | |
5899 | | - | |
5900 | | - | |
5901 | | - | |
5902 | | - | |
5903 | | - | |
5904 | | - | |
5905 | | - | |
5906 | 5884 | | |
5907 | 5885 | | |
5908 | 5886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
2216 | | - | |
| 2215 | + | |
2217 | 2216 | | |
2218 | 2217 | | |
2219 | 2218 | | |
| |||
2237 | 2236 | | |
2238 | 2237 | | |
2239 | 2238 | | |
2240 | | - | |
2241 | 2239 | | |
2242 | 2240 | | |
2243 | 2241 | | |
| |||
2254 | 2252 | | |
2255 | 2253 | | |
2256 | 2254 | | |
2257 | | - | |
2258 | | - | |
2259 | | - | |
2260 | | - | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
2267 | | - | |
| 2255 | + | |
2268 | 2256 | | |
2269 | 2257 | | |
2270 | 2258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
| |||
2705 | 2704 | | |
2706 | 2705 | | |
2707 | 2706 | | |
2708 | | - | |
2709 | | - | |
| 2707 | + | |
2710 | 2708 | | |
2711 | 2709 | | |
2712 | 2710 | | |
| |||
3432 | 3430 | | |
3433 | 3431 | | |
3434 | 3432 | | |
3435 | | - | |
3436 | | - | |
3437 | | - | |
3438 | | - | |
3439 | | - | |
3440 | | - | |
3441 | | - | |
3442 | | - | |
3443 | | - | |
3444 | | - | |
3445 | | - | |
3446 | 3433 | | |
3447 | 3434 | | |
3448 | 3435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
499 | 495 | | |
500 | 496 | | |
501 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | 256 | | |
258 | 257 | | |
259 | 258 | | |
| |||
0 commit comments