Re: BUG #3958: Self-Join Group-By Clause Produces Incorrect Results

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "Marcus Torres" <marcsf23(at)yahoo(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #3958: Self-Join Group-By Clause Produces Incorrect Results
Date: 2008-02-13 11:09:45
Message-ID: 47B2CFF9.6040506@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marcus Torres wrote:
> The following bug has been logged online:
>
> Bug reference: 3958
> Logged by: Marcus Torres
> Email address: marcsf23(at)yahoo(dot)com
> PostgreSQL version: 8.19
> Operating system: Linux - Ubuntu
> Description: Self-Join Group-By Clause Produces Incorrect Results
> Details:
>
> This is a repost of my original bug with self-contained sql to reproduce the
> problem:
>
> I wrote a simple self-join query to sum the transaction count of different
> types of records in a audit table and the result set for the different sum
> totals was the same which is incorrect.

Looks perfectly correct to me.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2008-02-13 11:24:13 Re: BUG #3959: Huge calculation error
Previous Message Renaud Diez 2008-02-13 09:53:57 BUG #3959: Huge calculation error