Re: [HACKERS] [doc patch] extra_float_digits and casting from real to numeric

2014-02-06 Thread Christoph Berg
Re: Robert Haas 2014-02-05 > >> 0, the output is the same on every platform > >> supported by PostgreSQL. Increasing it will produce output that > >> more accurately represents the stored value, but may be unportable. > >> + Casts to other numeric datatypes and the

Re: [HACKERS] [doc patch] extra_float_digits and casting from real to numeric

2014-02-05 Thread Robert Haas
On Tue, Feb 4, 2014 at 11:25 AM, Christoph Berg wrote: > Re: To Tom Lane 2014-01-08 <20140108094017.ga20...@msgid.df7cb.de> >> What about this patch to mention this gotcha more explicitely in the >> documentation? >> >> diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml >> new fi

Re: [HACKERS] [doc patch] extra_float_digits and casting from real to numeric

2014-02-04 Thread Christoph Berg
Re: To Tom Lane 2014-01-08 <20140108094017.ga20...@msgid.df7cb.de> > What about this patch to mention this gotcha more explicitely in the > documentation? > > diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml > new file mode 100644 > index 0386330..968f4a7 > *** a/doc/src/sgml/d