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 14:50:32
Message-ID: 20325.1068821432@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:
> COPY test (x) FROM stdin;
> 0.29999999999999999
> \.

This is not a bug; it's pg_dump trying to recreate the actual floating
point value as accurately as it can. See the discussion of
extra_float_digits from six months or a year back.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

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