Prevent integer overflow within the integer-datetimes version of
TimestampTzPlusMilliseconds. An integer argument of more than INT_MAX/1000
milliseconds (ie, about 35 minutes) would provoke a wrong result, resulting
in incorrect enforcement of statement_timestamp values larger than that.
Bug was introduced in my rewrite of 2006-06-20, which fixed some other
overflow risks, but missed this one :-( Per report from Elein.
timestamp.h (r1.64 -> r22.214.171.124)
pgsql-committers by date
|Next:||From: User Eggyknap||Date: 2008-01-24 03:17:16|
|Subject: pllolcode - pllolcode: Add some TODOs, improve messages for unsupported |
|Previous:||From: Tom Lane||Date: 2008-01-23 21:26:13|
|Subject: pgsql: Prevent integer overflow within the integer-datetimes version of |