From: | Matthew Kim <matthewkmkim(at)gmail(dot)com> |
---|---|
To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
Cc: | Joseph Koshakow <koshy44(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de> |
Subject: | Re: Remove dependence on integer wrapping |
Date: | 2024-07-22 22:07:34 |
Message-ID: | CAGzNdfHYxHnT_Qg=qeCfpN_6oFCipb-Pvv6Pv9ty3bMQMYDmtg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
> 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 to_date('100000000', 'CC');
>
> Hi, I’ve attached a patch that fixes the to_date() overflow. Patches 1
> through 3 remain unchanged.
>
> Thank you,
> Matthew Kim
>
Attachment | Content-Type | Size |
---|---|---|
v13-0003-Remove-dependence-on-integer-wrapping-for-jsonb.patch | application/octet-stream | 2.4 KB |
v13-0004-Handle-overflows-in-do_to_timestamp.patch | application/octet-stream | 3.1 KB |
v13-0001-Remove-dependence-on-integer-wrapping.patch | application/octet-stream | 13.5 KB |
v13-0002-Remove-overflow-from-array_set_slice.patch | application/octet-stream | 3.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2024-07-22 22:07:46 | Re: Add on_error and log_verbosity options to file_fdw |
Previous Message | Ilya Gladyshev | 2024-07-22 21:47:37 | Re: pg_rewind with cascade standby doesn't work well |