]> granicus.if.org Git - postgresql/commit
Arrange for ValuesScan to keep per-sublist expression eval state in a
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Aug 2006 18:58:21 +0000 (18:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Aug 2006 18:58:21 +0000 (18:58 +0000)
commit0dfb595d7a5eb85617fb98f0eede0776e45bf3b4
tree84e344f5aef749744dde70103591f979b572a622
parent9649b182a1548ea6fbbdb0ebab4e9e5e2bfe815b
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.
src/backend/executor/nodeValuesscan.c
src/include/nodes/execnodes.h