- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitbe87cd2
committed
Allow auto_explain.log_min_duration to go up to INT_MAX.
The previous limit of INT_MAX / 1000 seems to have been cargo-culted infrom somewhere else. Or possibly the value was converted to microsecondsat some point; but in all supported releases, it's just compared to othervalues, so there's no need for the restriction. This change raises theeffective limit from ~35 minutes to ~24 days, which conceivably is usefulto somebody, and anyway it's more consistent with the range of the corelog_min_duration_statement GUC.Per complaint from Kevin Bloch. Back-patch to all supported releases.Discussion:https://postgr.es/m/8ea82d7e-cb78-8e05-0629-73aa14d2a0ca@codingthat.com1 parentb673837 commitbe87cd2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
0 commit comments
Comments
(0)