pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch

pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch

pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch

pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch

pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch

pgsql: Guard against overflow in interval_mul() and interval_div().

2023-11-18 Thread Dean Rasheed
Guard against overflow in interval_mul() and interval_div(). Commits 146604ec43 and a898b409f6 added overflow checks to interval_mul(), but not to interval_div(), which contains almost identical code, and so is susceptible to the same kinds of overflows. In addition, those checks did not catch