Interesting failure when selecting aggregates - Mailing list pgsql-hackers

From Michael Davis
Subject Interesting failure when selecting aggregates
Date
Msg-id 93C04F1F5173D211A27900105AA8FCFC1452F9@lambic.prevuenet.com
Whole thread Raw
List pgsql-hackers
select sum(TotShippingHandling) from Invoice where 1 = 1 and
TotShippingHandling <> 0;
---  
(1 row)


select sum(TotShippingHandling) from Invoice where TotShippingHandling <> 0;
sum
-------
6781.05
(1 row)


Red Hat 5.1, intel, PostgreSQL 6.5 (downloaded last night).

Thanks, Michael


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Should the following work...?
Next
From: "Jackson, DeJuan"
Date:
Subject: [OT] Timezones and Daylight savings.