pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except

pgsql: Adjust the integer overflow tests in the numeric code.

2021-08-06 Thread Dean Rasheed
Adjust the integer overflow tests in the numeric code. Formerly, the numeric code tested whether an integer value of a larger type would fit in a smaller type by casting it to the smaller type and then testing if the reverse conversion produced the original value. That's perfectly fine, except