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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix numeric abbreviation for --disable-float8-byval.
Date: 2015-04-04 02:45:29
Message-ID: E1YeE5R-0001xL-31@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/368b7c601e3a7ce927602b5399e4b117d71bae31

Modified Files
--------------
src/backend/utils/adt/numeric.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-04-04 17:34:36 pgsql: Fix TAP tests to use only standard command-line argument orderin
Previous Message Tom Lane 2015-04-03 20:49:59 pgsql: Remove unnecessary variables in _hash_splitbucket().