Jan Ploski <[EMAIL PROTECTED]> writes:
> Here, v_wutest is a view which returns two rows. Shouldn't the SUM
> aggregate simply add these two values? To me, it looks like a bug.
Does the view contain GROUP BY? If so, yes this is broken in pre-7.1
releases ...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
- Re: [GENERAL] SUM()ming a view's column Jan Ploski
- Re: [GENERAL] SUM()ming a view's column Tom Lane
- Re: [GENERAL] SUM()ming a view's column Jan Ploski
