Fix multiple bugs in numeric_poly_deserialize().
authorTom Lane <[email protected]>
Sat, 3 Sep 2016 18:18:55 +0000 (14:18 -0400)
committerTom Lane <[email protected]>
Sat, 3 Sep 2016 18:18:55 +0000 (14:18 -0400)
commit600dc4c0da3b8c094ccc1ae75b47c8320898c714
tree1308852a2d525e289b8f89f49e0c83fa2c8f702e
parent60893786d5180f5dd5aefd44d9cb6955d77b0473
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: <[email protected]>
src/backend/utils/adt/numeric.c