Re: bug in JOIN or COUNT or ... ? - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: bug in JOIN or COUNT or ... ?
Date
Msg-id Pine.BSF.4.33.0105122251250.629-100000@mobile.hub.org
Whole thread Raw
In response to bug in JOIN or COUNT or ... ?  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
On Sat, 12 May 2001, Tom Lane wrote:

> The Hermit Hacker <scrappy@hub.org> writes:
> >> So that inflates the number of rows coming out of the join by 5.
>
> > Okay, then I'm lost ... why wouldn't that show up without the COUNT()?  I
> > doubt doubt your analysis, I just want to understand why ...
>
> You had DISTINCT on your query, which hid the duplicated rows from you.
> But that happens *after* aggregate processing, so it doesn't hide the
> dups from COUNT().

Ahhhh, okay, that makes sense ... thanks for taking the time to check it
for me ... and explaining what I was missing ...



pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: bug in JOIN or COUNT or ... ?
Next
From: Philip Warner
Date:
Subject: Re: 7.1.2 release