Hi, When multiplying variables, the overflow will take place anyway, and only then will the meaningless product be explicitly promoted to type int64. It is one of the operands that should have been cast instead to avoid the overflow.
regards, Ranier Vilela
tuplesort_avoid_possible_overflow.patch
Description: Binary data