Re: Fix overflow in justify_interval related functions

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joseph Koshakow <koshy44@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-02-28T20:38:31Z
Lists: pgsql-hackers
Joseph Koshakow <koshy44@gmail.com> writes:
> [ v4-0001-Check-for-overflow-in-justify_interval-functions.patch ]

Pushed.  I added a comment explaining why the one addition in
interval_justify_interval doesn't require an overflow check.

			regards, tom lane



Commits

  1. Handle integer overflow in interval justification functions.