pgsql: Increase the maximum value of extra_float_digits to 3, and have

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Increase the maximum value of extra_float_digits to 3, and have
Date: 2009-09-11 19:17:04
Message-ID: 20090911191704.956DB753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/doc/src/sgml:
config.sgml (r1.226 -> r1.227)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.226&r2=1.227)
pgsql/src/backend/utils/adt:
float.c (r1.162 -> r1.163)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/float.c?r1=1.162&r2=1.163)
geo_ops.c (r1.104 -> r1.105)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/geo_ops.c?r1=1.104&r2=1.105)
pgsql/src/backend/utils/misc:
guc.c (r1.516 -> r1.517)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.516&r2=1.517)
postgresql.conf.sample (r1.265 -> r1.266)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample?r1=1.265&r2=1.266)
pgsql/src/bin/pg_dump:
pg_dump.c (r1.546 -> r1.547)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.546&r2=1.547)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-09-11 19:21:30 Re: Re: [COMMITTERS] pgsql: On Windows, when a file is deleted and another process still has
Previous Message Magnus Hagander 2009-09-11 19:00:33 Re: Re: [COMMITTERS] pgsql: On Windows, when a file is deleted and another process still has