Re: Missing ColLabel tokens - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Missing ColLabel tokens
Date
Msg-id 23055.978650701@sss.pgh.pa.us
Whole thread Raw
In response to Re: Missing ColLabel tokens  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Missing ColLabel tokens
Next
From: Tatsuo Ishii
Date:
Subject: time + date_part oddness?