Re: pg_dump and psql disagree on numerical precision (powerpc) - Mailing list pgsql-bugs

From Christof Petig
Subject Re: pg_dump and psql disagree on numerical precision (powerpc)
Date
Msg-id 3FB55232.5020107@petig-baender.de
Whole thread Raw
In response to Re: pg_dump and psql disagree on numerical precision (powerpc)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane schrieb:
> Christof Petig <christof@petig-baender.de> writes:
>
>>Commenting out "set extra_float_digits=2" in pg_dump.c gives me the old
>>behaviour. Is it only me wishing for a command line parameter for
>>pg_dump to set desired precision?
>
>
> It seems to me that you should be using type NUMERIC if you think there
> is a difference between 0.3 and 0.29999999999999999.

Touché. (you score)

   Christof

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump and psql disagree on numerical precision (powerpc)
Next
From: Theodore Petrosky
Date:
Subject: RC2 will not make check on OSX 10.3