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

From Gavin Sherry
Subject Re: Patch for removal of RULE bracket use
Date
Msg-id Pine.LNX.4.21.0203081519060.21106-100000@linuxworld.com.au
Whole thread Raw
In response to Patch for removal of RULE bracket use  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce,

On Thu, 7 Mar 2002, Bruce Momjian wrote:

> This patch completes the following TODO item:
> 
>     * Remove brackets as multi-statement rule grouping, must use parens
> 
> One question I have is whether this change is needed:
>     
>       %left         '.'
>     - %left         '[' ']'
>       %left         '(' ')'

It is unncessary to remove this. Square brackets are used elsewhere in the
grammar (arrays, opt_indirection). It is possible that the grammar
requires left to right order of precidence for these.

Gavin



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Time for 7.2.1?
Next
From: Bruce Momjian
Date:
Subject: Char selectivity