Re: adding stuff to parser, question - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: adding stuff to parser, question
Date
Msg-id 87pri3l7in.fsf@oxford.xeocode.com
Whole thread Raw
In response to adding stuff to parser, question  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Responses Re: adding stuff to parser, question  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Re: adding stuff to parser, question  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List pgsql-hackers
Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:

You're going to kick yourself, but:


>      {"table", TABLE, RESERVED_KEYWORD},
> +    {"table", TABLES, RESERVED_KEYWORD},
              ^

I don't see any reason offhand why it should have to be a reserved word
though. You should be able to make it an UNRESERVED_KEYWORD. Oh, and you'll
want to add it to the list of tokens in unreserved_keyword in gram.y as well.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: adding stuff to parser, question
Next
From: David Fetter
Date:
Subject: Re: adding stuff to parser, question