pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rely on executor utils to build targetlist for DML RETURNING.
Date: Fri, 29 Dec 2017 20:48:19 +0000
Message-ID: <E1eV1Zj-0001mo-H4@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1eV1Zj-0001mo-H4@gemulon.postgresql.org>
Permalink:  ../E1eV1Zj-0001mo-H4@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eV1Zj-0001mo-H4@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Rely on executor utils to build targetlist for DML RETURNING.
  In-Reply-To: <E1eV1Zj-0001mo-H4@gemulon.postgresql.org>
  References: <E1eV1Zj-0001mo-H4@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox