pgsql: Rely on executor utils to build targetlist for DML RETURNING.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rely on executor utils to build targetlist for DML RETURNING.
Date: 2017-12-29 20:48:19
Message-ID: E1eV1Zj-0001mo-H4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rely on executor utils to build targetlist for DML RETURNING.

This is useful because it gets rid of the sole direct user of
ExecAssignResultType(). A future commit will likely make use of that
and combine creating the targetlist with the initialization of the
result slot. But it seems like good code hygiene anyway.

Author: Andres Freund
Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4717fdb14cf0a62ffe1b1023e1c5ea8866e34fa0

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2017-12-29 20:57:35 Re: pgsql: Use new overflow aware integer operations.
Previous Message Andres Freund 2017-12-29 20:21:54 Re: pgsql: Use new overflow aware integer operations.