Fix numeric abbreviation for --disable-float8-byval.

Robert Haas <rhaas@postgresql.org>

Commit: 368b7c601e3a7ce927602b5399e4b117d71bae31
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-04-04T02:34:37Z
Releases: 9.5.0
Fix numeric abbreviation for --disable-float8-byval.

When committing abd94bcac4582903765be7be959d1dbc121df0d0, I tried to make
it decide what kind of abbreviation to use based only on SIZEOF_DATUM,
without regard to USE_FLOAT8_BYVAL.  That attempt was a few bricks short
of a load, so try to fix it, and add a comment explaining what we're
about.

Patch by me; review (but not a full endorsement) by Andrew Gierth.

Files

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