Re: pg_dump and psql disagree on numerical precision (powerpc)

From: Christof Petig <christof(at)petig-baender(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dump and psql disagree on numerical precision (powerpc)
Date: 2003-11-14 22:07:46
Message-ID: 3FB55232.5020107@petig-baender.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane schrieb:
> Christof Petig <christof(at)petig-baender(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Theodore Petrosky 2003-11-14 23:47:19 RC2 will not make check on OSX 10.3
Previous Message Tom Lane 2003-11-14 16:25:07 Re: pg_dump and psql disagree on numerical precision (powerpc)