On Mon, Jul 22, 2024 at 5:52 PM Alexander Lakhin
<exclusion(at)gmail(dot)com>
wrote:

> Also there are several trap-producing cases with date types:
> SELECT make_date(-2147483648, 1, 1);

Hi, I’ve attached a patch that fixes the make_date overflow. I’ve upgraded
the patches accordingly to reflect Joseph’s committed fix.

Thank you,
Matthew Kim

Attachment: v16-0004-Handle-negative-years-overflow-in-make_date.patch
Description: Binary data

Attachment: v16-0002-Remove-dependence-on-integer-wrapping-for-jsonb.patch
Description: Binary data

Attachment: v16-0001-Remove-dependence-on-integer-wrapping.patch
Description: Binary data

Attachment: v16-0003-Handle-overflows-in-do_to_timestamp.patch
Description: Binary data

Reply via email to