Clean up problems with rounding/overflow code in NUMERIC, particularly
Tom Lane <tgl@sss.pgh.pa.us>
Clean up problems with rounding/overflow code in NUMERIC, particularly the case wherein zero was rejected for a field like NUMERIC(4,4). Miscellaneous other code beautification efforts.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/numeric.c | modified | +109 −75 |
| src/include/utils/numeric.h | modified | +17 −7 |