pgsql: Restrict deadlock_timeout to the range for which the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Restrict deadlock_timeout to the range for which the
Date: 2007-06-20 18:31:40
Message-ID: 20070620183140.457519FBE38@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/misc:
guc.c (r1.399 -> r1.400)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.399&r2=1.400)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2007-06-20 19:24:05 pgsql: Remove some empty columns from a few system catalog tables in the
Previous Message Tom Lane 2007-06-20 18:21:51 pgsql: transformColumnDefinition failed to complain about create table