Re: BUG #2117: inconsistency in sum - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2117: inconsistency in sum
Date
Msg-id 15751.1134669630@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2117: inconsistency in sum  ("Adam Kolany" <dr.a.kolany@wp.pl>)
List pgsql-bugs
"Adam Kolany" <dr.a.kolany@wp.pl> writes:
> can you explain this?
> ======================================================
> stoff=> select sum(wplyw),sum(wydatek), sum(wplyw)-sum(wydatek) from
> rachunki where okres<6;
>   sum  |   sum   | ?column?
> -------+---------+----------
>  73745 | 6712.55 |  67032.5
> (1 row)

Seems odd, but you haven't provided nearly enough information to let
anyone else reproduce the problem.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #2117: inconsistency in sum
Next
From: Tom Lane
Date:
Subject: Re: BUG #2116: Searching text fields does not work in EUC_JP