Increase the maximum value of extra_float_digits to 3, and have pg_dump
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Sep 2009 19:17:04 +0000 (19:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Sep 2009 19:17:04 +0000 (19:17 +0000)
commitf9c08b9e06f40703da3bed3e3d21d98941c4818e
treee2ca4ca2fc373f0dd0def6a134df33f97d134fc9
parent167501570c74390dfb7a5dd71e260ab3d4fd9904
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.
doc/src/sgml/config.sgml
src/backend/utils/adt/float.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/pg_dump/pg_dump.c