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

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

pgsql-bugs by date

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

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