pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: to_char(float4/8): don't print "junk" digits
3+ messages / 2 participants
[nested] [flat]
* pgsql: to_char(float4/8): don't print "junk" digits
@ 2015-03-22 01:50 Bruce Momjian <bruce@momjian.us>
2015-03-22 05:37 ` Re: pgsql: to_char(float4/8): don't print "junk" digits Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2015-03-22 01:50 UTC (permalink / raw)
To: 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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: to_char(float4/8): don't print "junk" digits
2015-03-22 01:50 pgsql: to_char(float4/8): don't print "junk" digits Bruce Momjian <bruce@momjian.us>
@ 2015-03-22 05:37 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-03-22 13:51 ` Re: pgsql: to_char(float4/8): don't print "junk" digits Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2015-03-22 05:37 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> to_char(float4/8): don't print "junk" digits
I think this probably was not what you intended to commit, because
what got committed was only an entirely-pointless whitespace change.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: to_char(float4/8): don't print "junk" digits
2015-03-22 01:50 pgsql: to_char(float4/8): don't print "junk" digits Bruce Momjian <bruce@momjian.us>
2015-03-22 05:37 ` Re: pgsql: to_char(float4/8): don't print "junk" digits Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-03-22 13:51 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2015-03-22 13:51 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On Sun, Mar 22, 2015 at 01:37:56AM -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > to_char(float4/8): don't print "junk" digits
>
> I think this probably was not what you intended to commit, because
> what got committed was only an entirely-pointless whitespace change.
It actually is because I just wanted to add that to the previous commit
message, as it might be important for the release notes.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2015-03-22 13:51 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22 01:50 pgsql: to_char(float4/8): don't print "junk" digits Bruce Momjian <bruce@momjian.us>
2015-03-22 05:37 ` Re: pgsql: to_char(float4/8): don't print "junk" digits Tom Lane <tgl@sss.pgh.pa.us>
2015-03-22 13:51 ` Re: pgsql: to_char(float4/8): don't print "junk" digits Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox