Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> I suspect we're stuck on that for AS. However, TYPE is actually allowed
>> as a ColId, via the 'generic' production, so in reality it's not
>> reserved.
> I think this generic production might be a mistake.
It looks fairly weird to me too. Seems to me that we should get rid of
token "generic", have ColId's first alternative be IDENT, add TYPE to
ColId (or possibly TokenId), and have the Generic type production accept
IDENT directly.
Thomas, why'd you do it this way?
regards, tom lane