pgsql: Better solution to the IN-list issue: instead of having an

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Better solution to the IN-list issue: instead of having an
Дата
Msg-id 20081026024625.395637545A4@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Better solution to the IN-list issue: instead of having an arbitrary cutoff,
treat Var and non-Var IN-list items differently.  Only non-Var items are
candidates to go into an ANY(ARRAY) construct --- we put all Vars as separate
OR conditions on the grounds that that leaves more scope for optimization.
Per suggestion from Robert Haas.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_expr.c (r1.236 -> r1.237)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_expr.c?r1=1.236&r2=1.237)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Be a little smarter about qual handling for semi-joins: a qual
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Better solution to the IN-list issue: instead of having an