I was surprised to find that this doesn't error:
=> select 100a; a----- 100
I suspect this and similar cases used to error before aliases without AS were introduced. But now this seems possibly problematic. Should we try to handle this better?