From 8c5463a51176c8d2a01fcf154d7ac33fa9a74f6a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 11 Sep 2009 19:17:04 +0000 Subject: 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. --- src/backend/utils/misc/postgresql.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') 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 -- cgit v1.2.3