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

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: [doc patch] extra_float_digits and casting from real to numeric
Дата
Msg-id 20140204162518.GB8709@msgid.df7cb.de
обсуждение исходный текст
Ответ на Re: extra_float_digits and casting from real to numeric  (Christoph Berg <christoph.berg@credativ.de>)
Ответы Re: [doc patch] extra_float_digits and casting from real to numeric
Список pgsql-hackers
Re: To Tom Lane 2014-01-08 <20140108094017.GA20317@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/datatype.sgml
> --- b/doc/src/sgml/datatype.sgml
> *************** NUMERIC
> *** 689,694 ****
> --- 689,697 ----
>         <literal>0</literal>, 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 <literal>to_char</literal>
> +       function are not affected by this setting, it affects only the text
> +       representation.
>        </para>
>       </note>
>   

Anyone for that patch?

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: narwhal and PGDLLIMPORT
Следующее
От: Andres Freund
Дата:
Сообщение: Re: narwhal and PGDLLIMPORT