Re: [HACKERS] Associative Operators? (Was: Re: [NOVICE] Out of frying pan, into fire) - Mailing list pgsql-hackers

From Clark Evans
Subject Re: [HACKERS] Associative Operators? (Was: Re: [NOVICE] Out of frying pan, into fire)
Date
Msg-id 36EEDC91.39A140DD@manhattanproject.com
Whole thread Raw
In response to Re: [HACKERS] Associative Operators? (Was: Re: [NOVICE] Out of frying pan, into fire)  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> 
> My guess is that we should auto-left-associate functions like || if no
> parens are present.  It would be a small change to the parser.

I was trying to describe a more general solution,
where the operator is marked if it is associative
when it is created.  This would allow the same
mechanism to be used for user defined types.

:) Clark


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: postmaster dies (was Re: Very disappointing performance)
Next
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [HACKERS] Associative Operators? (Was: Re: [NOVICE] Out of frying pan, into fire)