Tom Lane <t...@sss.pgh.pa.us> wrote:

> The way to fix it is to not try to use the sub-production but spell it
> all out:
> 
>       TRUNCATE TABLE relation_expr_list ...
>     | TRUNCATE MATERIALIZED VIEW relation_expr_list ...
>     | TRUNCATE relation_expr_list ...
> 
> Now the parser doesn't have to make any shift-reduce decision until
> after it can "see past" the first identifier.  It's a bit tedious
> but beats making a word more reserved than it has to be.

Thanks!  Will do.


--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to