Thread: [COMMITTERS] pgsql: Use ResultRelInfo ** rather than ResultRelInfo * for tuplerouti
[COMMITTERS] pgsql: Use ResultRelInfo ** rather than ResultRelInfo * for tuplerouti
From
Robert Haas
Date:
Use ResultRelInfo ** rather than ResultRelInfo * for tuple routing. The previous convention doesn't lend itself to creating ResultRelInfos lazily, as we already do in ExecGetTriggerResultRel. This patch doesn't make anything lazier than before, but the pending patch for UPDATE tuple routing proposes to do so (and there might be other opportunities as well). Amit Khandekar with some adjustments by me. Discussion: http://postgr.es/m/CA+TgmoYPVP9Lyf6vUFA5DwxS4c--x6LOj2y36BsJaYtp62eXPQ@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/60f7c0abef0327648c02795312d1679c66586fbb Modified Files -------------- src/backend/commands/copy.c | 10 ++--- src/backend/executor/execMain.c | 13 +++--- src/backend/executor/nodeModifyTable.c | 74 ++++++++++++++++++++-------------- src/include/executor/executor.h | 2 +- src/include/nodes/execnodes.h | 2 +- 5 files changed, 57 insertions(+), 44 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers