pgsql: Rely on executor utils to build targetlist for DML RETURNING. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Rely on executor utils to build targetlist for DML RETURNING.
Date
Msg-id E1eV1Zj-0001mo-H4@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Use new overflow aware integer operations.
Next
From: Thomas Munro
Date:
Subject: Re: pgsql: Use new overflow aware integer operations.