I see, I could not find the <expression> definition because I was looking only in the SELECT doc. Thanks. The fact that the <expression> after GROUP BY must occur literally in the select list should be noted in the BNF, though, also because the SQL standard does not enforce it.
-- Micha