Re: adding stuff to parser, question

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: adding stuff to parser, question
Date: 2009-01-31 17:17:36
Message-ID: 87pri3l7in.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)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's PostgreSQL training!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2009-01-31 17:22:16 Re: adding stuff to parser, question
Previous Message Grzegorz Jaskiewicz 2009-01-31 16:56:32 Re: adding stuff to parser, question