pgsql: to_char(float4/8): don't print "junk" digits

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: to_char(float4/8): don't print "junk" digits
Date: 2015-03-22 01:50:08
Message-ID: E1YZV1k-0001qO-Pf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

to_char(float4/8): don't print "junk" digits

Commit cc0d90b73b2e6dd2f301d46818a7265742c41a14 also avoids printing
junk digits, which are digits that are beyond the precision of the
underlying type.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9d61b9953c1489cbb458ca70013cf5fca1bb7710

Modified Files
--------------
src/test/regress/expected/numeric.out | 2 +-
src/test/regress/sql/numeric.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2015-03-22 02:06:24 pgsql: Use mmap MAP_NOSYNC option to limit shared memory writes
Previous Message Bruce Momjian 2015-03-22 01:43:54 pgsql: to_char(float4/8): zero pad to specified length