Обсуждение: pgsql-server/src backend/executor/nodeLimit.c ...

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

pgsql-server/src backend/executor/nodeLimit.c ...

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/11/22 17:10:01

Modified files:
    src/backend/executor: nodeLimit.c
    src/include/nodes: execnodes.h

Log message:
    Redesign internal logic of nodeLimit so that it does not need to fetch
    one more row from the subplan than the COUNT would appear to require.
    This costs a little more logic but a number of people have complained
    about the old implementation.