summaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-02-23 14:38:19 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-02-23 14:39:23 -0500
commita7a6051cfdbb117498511fbfc0d515c9ac719d39 (patch)
treee4e8f963adb89bb43e06cf41d076701dfc873d5e /src/bin/scripts/createlang.c
parenta7eab4e1f6c8ef013b7997fa43f72ac32f81bdf3 (diff)
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 in from somewhere else. Or possibly the value was converted to microseconds at some point; but in all supported releases, it's just compared to other values, so there's no need for the restriction. This change raises the effective limit from ~35 minutes to ~24 days, which conceivably is useful to somebody, and anyway it's more consistent with the range of the core log_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.com
Diffstat (limited to 'src/bin/scripts/createlang.c')
0 files changed, 0 insertions, 0 deletions