Re: Materialized views WIP patch

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Materialized views WIP patch
Дата
Msg-id 1361377570.36972.YahooMailNeo@web162901.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: Materialized views WIP patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Materialized views WIP patch  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
Tom Lane <tgl@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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Misa Simic
Дата:
Сообщение: Altering Views
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Altering Views