Обсуждение: pgsql: Arrange for ValuesScan to keep per-sublist expression eval state

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

pgsql: Arrange for ValuesScan to keep per-sublist expression eval state

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Arrange for ValuesScan to keep per-sublist expression eval state in a
temporary context that can be reset when advancing to the next sublist.
This is faster and more thorough at recovering space than the previous
method; moreover it will do the right thing if something in the sublist
tries to register an expression context callback.

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeValuesscan.c (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeValuesscan.c.diff?r1=1.1&r2=1.2)
    pgsql/src/include/nodes:
        execnodes.h (r1.156 -> r1.157)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/execnodes.h.diff?r1=1.156&r2=1.157)