Re: INTERVAL overflow detection is terribly broken

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: INTERVAL overflow detection is terribly broken
Дата
Msg-id 20140127222635.GD8691@momjian.us
обсуждение исходный текст
Ответ на Re: INTERVAL overflow detection is terribly broken  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: INTERVAL overflow detection is terribly broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jan 27, 2014 at 04:47:22PM -0500, Bruce Momjian wrote:
> The updated attached patch has overflow detection for interval
> subtraction, multiply, and negate.  There are also some comparison
> cleanups.

Oh, one odd thing about this patch.  I found I needed to use INT64_MAX,
but I don't see it used anywhere else in our codebase.  Is this OK?  Is
there a better way?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Add min and max execute statement time in pg_stat_statement
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)