Re: Precedence of NOT LIKE, NOT BETWEEN, etc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Precedence of NOT LIKE, NOT BETWEEN, etc
Date
Msg-id 9751.1428513278@sss.pgh.pa.us
Whole thread Raw
In response to Re: Precedence of NOT LIKE, NOT BETWEEN, etc  (Greg Stark <stark@mit.edu>)
Responses Re: Precedence of NOT LIKE, NOT BETWEEN, etc
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> On Tue, Feb 24, 2015 at 5:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Also, it strikes me that we could significantly reduce, maybe even fully
>> eliminate, the funny behaviors around the existing base_yylex()
>> substitutions if we made them use the same idea, ie replace the leading
>> token with something special but keep the second token's separate
>> identity.  Unless somebody sees a hole in this idea, I'll probably go
>> do that and then come back to the precedence issues.

> IIRC that's exactly what the earlier patch for this did.

Right, see d809fd0008a2e26de463f47b7aba0365264078f3
        regards, tom lane



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Precedence of NOT LIKE, NOT BETWEEN, etc
Next
From: Peter Geoghegan
Date:
Subject: Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0