> The fact that the CREATE INDEX syntax allows for some things that look
> like function calls but not for other things that look like function
> calls is an annoyance, no doubt about it. I'm not sure how important
> it is to fix though.
Turns out to be easy to fix in the grammar, so I did it.
regards, tom lane