Skip site navigation (1) Skip section navigation (2)

pgsql: Change the parser to translate "foo [NOT] IN (expression-list)"

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change the parser to translate "foo [NOT] IN (expression-list)"
Date: 2005-11-28 04:35:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Change the parser to translate "foo [NOT] IN (expression-list)" to
ScalarArrayOpExpr when possible, that is, whenever there is an array type
for the values of the expression list.  This completes the project I've
been working on to improve the speed of index searches with long IN lists,
as per discussion back in mid-October.

I did not force initdb, but until you do one you will see failures in the
"rules" regression test, because some of the standard system views use IN
and their compiled formats have changed.

Modified Files:
        outfuncs.c (r1.263 -> r1.264)
        gram.y (r2.515 -> r2.516)
        parse_expr.c (r1.187 -> r1.188)
        parsenodes.h (r1.296 -> r1.297)
        rules.out (r1.109 -> r1.110)

pgsql-committers by date

Next:From: User ChrisklDate: 2005-11-28 05:43:54
Subject: mysqlcompat - mysqlcompat: Even more date/time functions
Previous:From: User TomDate: 2005-11-28 03:31:06
Subject: pqa - pqa: Refactored command line arg handling into a PQA class; pqa

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group