On Mon, Jul 22, 2024 at 5:52 PM Alexander Lakhin
wrote:
> Also there are several trap-producing cases with date types:
> SELECT to_timestamp('10,999', 'Y,YYY');
I attached patch 5 that fixes the to_timestamp overflow.
Thank you,
Matthew Kim
From a01c5d67894de8
I've updated patch 0004 to check the return value of pg_mul_s32_overflow().
Since tm.tm_year overflowed, the error message is hardcoded.
Thanks,
Matthew Kim
From c142581fb5f4a26de40cdca0d8ca7d39abdb2e15 Mon Sep 17 00:00:00 2001
From: Joseph Koshakow
Date: Sat, 6 Jul 2024 15:41:09 -0400
Su
ed fix.
Thank you,
Matthew Kim
v16-0004-Handle-negative-years-overflow-in-make_date.patch
Description: Binary data
v16-0002-Remove-dependence-on-integer-wrapping-for-jsonb.patch
Description: Binary data
v16-0001-Remove-dependence-on-integer-wrapping.patch
Description: Binary data
v16-0003-
>
> On Mon, Jul 22, 2024 at 5:52 PM Alexander Lakhin
> wrote:
>
> > Also there are several trap-producing cases with date types:
> > SELECT to_date('1', 'CC');
>
> Hi, I’ve attached a patch that fixes the to_date() overflow. Patches 1
>