From: | Matthew Kim <matthewkmkim(at)gmail(dot)com> |
---|---|
To: | Joseph Koshakow <koshy44(at)gmail(dot)com> |
Cc: | Nathan Bossart <nathandbossart(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-08-08 22:16:37 |
Message-ID: | CAGzNdfF-nbL=-2vP=pCynn0-2kwTt3wW96dctdJYveeOWrvY1A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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
Attachment | Content-Type | Size |
---|---|---|
v18-0002-Remove-dependence-on-integer-wrapping-for-jsonb.patch | application/x-patch | 2.7 KB |
v18-0001-Remove-dependence-on-integer-wrapping.patch | application/x-patch | 14.4 KB |
v18-0003-Handle-overflows-in-do_to_timestamp.patch | application/x-patch | 3.1 KB |
v18-0004-Handle-overflow-when-taking-absolute-value-of-BC-yea.patch | application/x-patch | 1.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Corey Huinker | 2024-08-08 22:18:38 | Re: optimizing pg_upgrade's once-in-each-database steps |
Previous Message | Tomas Vondra | 2024-08-08 21:29:12 | Re: PATCH: Add hooks for pg_total_relation_size and pg_indexes_size |