Re: Transforming IN (...) to ORs, volatility

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-09-06T17:58:15Z
Lists: pgsql-hackers
Heikki Linnakangas wrote:
> On 06.09.2011 20:53, Bruce Momjian wrote:
> > Tom Lane wrote:
> >> Bruce Momjian<bruce@momjian.us>  writes:
> >>> Uh, have we addressed this?  I don't think so.
> >>
> >> No.  IIRC, I didn't like Heikki's proposed patch, so it's on my head
> >> to come up with something better.
> >
> > You can blame me for getting it into the parser.  It used to be in
> > gram.y!
> 
> Huh? Isn't "the parser" and "gram.y" more or less the same thing? 
> Anyway, it needs to be somewhere else..

I meant the '/parser' directory.  It actually created AND nodes in gram.y
so the rest of the parser didn't even know a BETWEEN was used.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +