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

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

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.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Christof Petig 2003-11-14 22:07:46 Re: pg_dump and psql disagree on numerical precision (powerpc)
Previous Message Christof Petig 2003-11-14 15:47:10 Re: pg_dump and psql disagree on numerical precision (powerpc)