Fix multiple bugs in numeric_poly_deserialize().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 600dc4c0da3b8c094ccc1ae75b47c8320898c714
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-09-03T18:18:55Z
Releases: 10.0
Fix multiple bugs in numeric_poly_deserialize().

These were evidently introduced by yesterday's commit 9cca11c91,
which perhaps needs more review than it got.

Per report from Andreas Seltenreich and additional examination
of nearby code.

Report: <87oa45qfwq.fsf@credativ.de>

Files

PathChange+/−
src/backend/utils/adt/numeric.c modified +2 −2