Arrange for ValuesScan to keep per-sublist expression eval state in a

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0dfb595d7a5eb85617fb98f0eede0776e45bf3b4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-08-02T18:58:21Z
Releases: 8.2.0
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.

Files

PathChange+/−
src/backend/executor/nodeValuesscan.c modified +77 −70
src/include/nodes/execnodes.h modified +10 −3