Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group