Patch for removal of RULE bracket use

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Patch for removal of RULE bracket use
Date: 2002-03-08 04:09:25
Message-ID: 200203080409.g2849Pr23299@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 '(' ')'

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

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 3.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-08 04:12:09 Re: Time for 7.2.1?
Previous Message Tom Lane 2002-03-08 04:02:51 Re: pg_class -> reltuples?