Fix overflow in justify_interval related functions - Mailing list pgsql-hackers

From Joseph Koshakow
Subject Fix overflow in justify_interval related functions
Date
Msg-id CAAvxfHeNqsJ2xYFbPUf_8nNQUiJqkag04NW6aBQQ0dbZsxfWHA@mail.gmail.com
Whole thread Raw
Responses Re: Fix overflow in justify_interval related functions  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
I mentioned this issue briefly in another thread, but the
justify_interval, justify_days, and justify_hours functions
all have the potential to overflow. The attached patch fixes
this issue.

Cheers,
Joe Koshakow

Attachment

pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: Mark all GUC variable as PGDLLIMPORT
Next
From: Tom Lane
Date:
Subject: xml_is_well_formed (was Re: buildfarm warnings)