max(*)
- From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
- To: pgsql-hackers(at)postgresql(dot)org
- Subject: max(*)
- Date: Fri, 26 May 2006 10:22:21 +0200
- Message-id: <4476BABD(dot)4080100(at)zigo(dot)dhs(dot)org>
Shouldn't
SELECT max(*) FROM foo;
give an error? Instead it's executed like
SELECT max(1) FROM foo;
Just like count(*) is executed as count(1).
Something for the TODO or is it a feature?
ps. I know it's not an important case since no one sane would try to
calculate max(*), but still.
/Dennis
Home |
Main Index |
Thread Index