mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Increase the maximum value of extra_float_digits to 3, and have pg_dump
use that value when the backend is new enough to allow it. This responds to bug report from Keh-Cheng Chu pointing out that although 2 extra digits should be sufficient to dump and restore float8 exactly, it is possible to need 3 extra digits for float4 values.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.226 2009/09/10 15:02:46 alvherre Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.227 2009/09/11 19:17:03 tgl Exp $ -->
|
||||
|
||||
<chapter Id="runtime-config">
|
||||
<title>Server Configuration</title>
|
||||
@ -4291,7 +4291,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
|
||||
floating-point values, including <type>float4</>, <type>float8</>,
|
||||
and geometric data types. The parameter value is added to the
|
||||
standard number of digits (<literal>FLT_DIG</> or <literal>DBL_DIG</>
|
||||
as appropriate). The value can be set as high as 2, to include
|
||||
as appropriate). The value can be set as high as 3, to include
|
||||
partially-significant digits; this is especially useful for dumping
|
||||
float data that needs to be restored exactly. Or it can be set
|
||||
negative to suppress unwanted digits.
|
||||
|
Reference in New Issue
Block a user