Arrange for ValuesScan to keep per-sublist expression eval state in a
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeValuesscan.c | modified | +77 −70 |
| src/include/nodes/execnodes.h | modified | +10 −3 |