Re: [HACKERS] Why does numeric_out produce so many trailing zeros?

2014-01-12 Thread Florian Pflug
On Jan12, 2014, at 08:50 , David Rowley dgrowle...@gmail.com wrote: I've been reading the documents on numeric and I can't find any information on the reason that a query like this: test=# select n::numeric / 1 from generate_series(1,2) s(n); ?column?

[HACKERS] Why does numeric_out produce so many trailing zeros?

2014-01-11 Thread David Rowley
I've been reading the documents on numeric and I can't find any information on the reason that a query like this: test=# select n::numeric / 1 from generate_series(1,2) s(n); ?column? 1. 2. (2 rows) produces results that