Use ResultRelInfo ** rather than ResultRelInfo * for tuple routing.

Robert Haas <rhaas@postgresql.org>

Commit: 60f7c0abef0327648c02795312d1679c66586fbb
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-12T20:50:53Z
Releases: 11.0
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

Files

Discussion