Kyle <kyle(at)actarg(dot)com> writes:
> Here's a query that doesn't work on 7.1. Is this a bug or am I doing
> something wrong?
Hmm, I think you have found some subtle bugs in aggregate processing;
offhand it seems like both these queries should be legal. I'll see what
I can do about it.
regards, tom lane