Fix numeric abbreviation for --disable-float8-byval.
authorRobert Haas <rhaas@postgresql.org>
Sat, 4 Apr 2015 02:34:37 +0000 (22:34 -0400)
committerRobert Haas <rhaas@postgresql.org>
Sat, 4 Apr 2015 02:34:37 +0000 (22:34 -0400)
commit368b7c601e3a7ce927602b5399e4b117d71bae31
treee1084f79c960f7537b78e2db7b6f60a3fd1e15fa
parentb7e1652d5de8b618c0204588969c8b59d12e9361
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.
src/backend/utils/adt/numeric.c