Обсуждение: pgsql-server/src backend/optimizer/plan/planne ...

Поиск
Список
Период
Сортировка

pgsql-server/src backend/optimizer/plan/planne ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/07/03 16:07:55

Modified files:
    src/backend/optimizer/plan: planner.c
    src/backend/optimizer/util: clauses.c
    src/backend/parser: analyze.c gram.y parse_clause.c
                        parse_coerce.c
    src/include/parser: parse_clause.h parse_coerce.h

Log message:
    Do honest transformation and preprocessing of LIMIT/OFFSET clauses,
    instead of the former kluge whereby gram.y emitted already-transformed
    expressions.  This is needed so that Params appearing in these clauses
    actually work correctly.  I suppose some might claim that the side effect
    of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is
    a bug fix.