Always send numeric values as NUMERIC, don't switch to INTEGER if the
number has no fractional part.  Use a cast in parametrized or prepared
statements if a column is of an integer type ($1::integer).