nary_representation`) and the error message `invalid scale in external "numeric" value` (though this may be subject to change). However, `BigDecimal` should be able to decode any `NUMERIC` value except `NaN`, for which it has no representation. [Section 8.1, Numeric Types]: https://www.postgresql.org/docs/current/datatype-numeric.html