Restrict deadlock_timeout to the range for which the implementation
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Jun 2007 18:31:39 +0000 (18:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Jun 2007 18:31:39 +0000 (18:31 +0000)
commitdbe6f538a44120448f028d7e464d6b4d41bcdb9c
treed62904e2e8decdc642315ef63ba9b19fd199e265
parentb9a7a681e7520709e66cd71b545ddf7c708026fa
Restrict deadlock_timeout to the range for which the implementation
actually works sanely, viz not 0 and not more than INT_MAX/1000
(else TimestampTzPlusMilliseconds can overflow).  Per discussion with
Greg Stark.  Since this is a superuser-only setting and there was not
previously any big reason to change it, not worth back-patching.
src/backend/utils/misc/guc.c