Re: Patch for removal of RULE bracket use

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch for removal of RULE bracket use
Date: 2002-03-08 04:22:42
Message-ID: Pine.LNX.4.21.0203081519060.21106-100000@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-03-08 04:29:03 Char selectivity
Previous Message Rod Taylor 2002-03-08 04:21:18 Domain Support -- another round