aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-09-11 19:17:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-09-11 19:17:04 +0000
commit8c5463a51176c8d2a01fcf154d7ac33fa9a74f6a (patch)
tree9e8efe691f08fe96df16ef954ed7934885c4b9a7 /src/backend/utils/misc/postgresql.conf.sample
parent680bf3268c91d188c018470491ce6ab146960b28 (diff)
downloadpostgresql-8c5463a51176c8d2a01fcf154d7ac33fa9a74f6a.tar.gz
postgresql-8c5463a51176c8d2a01fcf154d7ac33fa9a74f6a.zip
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.
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 4a361391f2c..b10775cc2df 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -445,7 +445,7 @@
# India
# You can create your own file in
# share/timezonesets/.
-#extra_float_digits = 0 # min -15, max 2
+#extra_float_digits = 0 # min -15, max 3
#client_encoding = sql_ascii # actually, defaults to database
# encoding