Re: [HACKERS] Unary % operator is broken in current sources

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Unary % operator is broken in current sources
Date: 1999-03-21 03:13:46
Message-ID: 199903210313.WAA07331@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, I made the change. It works now with special entries for %4 and 4%
> > in the grammer, similar to our handling of -4:
>
> Hmm, is that an adequate solution? Are you sure there are no other
> operators like % ?

Not sure. I know I only changed % to have precedence like /. No one is
complaining, and I think the problems are restricted to +,-,*,/, and %.
Should I fix any of these other ones?

--
Bruce Momjian | http://www.op.net/~candle
maillist(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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Davis 1999-03-21 05:12:07 RE: [HACKERS] min() and max() causing aborts
Previous Message Bruce Momjian 1999-03-21 03:12:50 Re: check_primary_key is busted too