Re: UNION makes strange duplicates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomasz Brzezina <biuro(at)sam(dot)w3(dot)pl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: UNION makes strange duplicates
Date: 2005-05-27 15:03:07
Message-ID: 14809.1117206187@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tomasz Brzezina <biuro(at)sam(dot)w3(dot)pl> writes:
> document_id vat_type_id vat_type_value document_netto_value
> 65615 1 0 0
> 65615 4 0.07 -12.5327
> 65615 5 0.22 -7.31148
> 65615 5 0.22 -7.31148

Perhaps document_item_value is float4, and there is some low-order-bit
difference in the sums?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2005-05-27 15:07:30 Re: BUG #1643: dbf2pg broken + quick fix
Previous Message Michael Fuhr 2005-05-27 14:48:26 Re: BUG #1682: subselect generates multiple rows