Re: Precedence of NOT LIKE, NOT BETWEEN, etc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Precedence of NOT LIKE, NOT BETWEEN, etc
Date: 2015-04-08 17:14:38
Message-ID: 9751.1428513278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark <stark(at)mit(dot)edu> writes:
> On Tue, Feb 24, 2015 at 5:04 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-04-08 17:17:05 Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0
Previous Message Greg Stark 2015-04-08 17:11:16 Re: Precedence of NOT LIKE, NOT BETWEEN, etc