Re: Patch for removal of RULE bracket use - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch for removal of RULE bracket use
Date
Msg-id 5735.1015564186@sss.pgh.pa.us
Whole thread Raw
In response to Patch for removal of RULE bracket use  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Index USING in pg_dump
Next
From: Tom Lane
Date:
Subject: Re: Index USING in pg_dump