]> granicus.if.org Git - postgresql/commit
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)
commit6f0072df774ab0b5af9d2b8d3123929a983da16d
tree39a3141d3b4f788196fed46d103ef6d93960104e
parentcd407354eedfabfe9ffc87f3cab40583e4234861
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