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)
commit8c5463a51176c8d2a01fcf154d7ac33fa9a74f6a
tree9e8efe691f08fe96df16ef954ed7934885c4b9a7
parent680bf3268c91d188c018470491ce6ab146960b28
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