Re: Patch for removal of RULE bracket use

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch for removal of RULE bracket use
Дата
Msg-id 5735.1015564186@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Patch for removal of RULE bracket use  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> One question I have is whether this change is needed:
>       %left         '.'
>     - %left         '[' ']'
>       %left         '(' ')'

Only if you want to break array-subscript parsing ;-).  Leave it in.

> I believe the logic for removal of brackets for multi-statement rules is
> that brackets are just weird in this usage.  :-)

I think the real reason is that psql and other clients aren't smart
about brackets overriding semicolons, and we don't feel like making
them so.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Index USING in pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index USING in pg_dump