| From: | tgl(at)postgresql(dot)org (Tom Lane) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Arrange for ValuesScan to keep per-sublist expression eval state |
| Date: | 2006-08-02 18:58:21 |
| Message-ID: | 20060802185821.9070F9FA4C8@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2006-08-02 19:02:34 | pgsql: remove extraneous space after -L flag. |
| Previous Message | Tom Lane | 2006-08-02 16:30:00 | pgsql: Fix documentation error: GRANT/REVOKE for roles only accept role |