- Notifications
You must be signed in to change notification settings - Fork28
Commit7550619
committed
Revert "Add log_statement_sample_rate parameter"
This reverts commit88bdbd3.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, introducinga second duration threshold, but it would not be backwards compatible.So we've decided to revert this feature - the separate threshold shouldbe part of the feature itself.Discussion:https://postgr.es/m/CAFj8pRDS8tQ3Wviw9%3DAvODyUciPSrGeMhJi_WPE%2BEB8%2B4gLL-Q%40mail.gmail.com1 parent4f9ed8f commit7550619
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 changedLines changed: 6 additions & 28 deletions
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 |
| |
|
Lines changed: 2 additions & 14 deletions
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 |
| |
|
Lines changed: 1 addition & 14 deletions
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 |
| |
|
Lines changed: 4 additions & 8 deletions
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 |
| |
|
Lines changed: 0 additions & 1 deletion
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
Comments
(0)