Re: BUG #2117: inconsistency in sum

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Adam Kolany <dr(dot)a(dot)kolany(at)wp(dot)pl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2117: inconsistency in sum
Date: 2005-12-15 17:58:08
Message-ID: 20051215175808.GA44979@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Dec 15, 2005 at 11:03:55AM +0000, Adam Kolany wrote:
> 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)

What data types are wplyw and wydatek?

--
Michael Fuhr

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-12-15 18:00:30 Re: BUG #2117: inconsistency in sum
Previous Message Adam Kolany 2005-12-15 11:03:55 BUG #2117: inconsistency in sum