pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix parent of WCO qual.
Date: Tue, 15 Jan 2019 20:43:12 +0000
Message-ID: <E1gjVYG-00046l-NZ@gemulon.postgresql.org> (raw)

Fix parent of WCO qual.

The parent of some WCO expressions was, apparently by accident, set to
the the source of DML queries, rather than the target table.  This
causes problems for the upcoming pluggable storage work, because the
target and source table might be of different storage types.

It's possible that this is already problematic, but neither
experimenting nor inquiries on -hackers have found them. So don't
backpatch for now.

Author: Andres Freund
Discussion: https://postgr.es/m/20181205225213.hiwa3kgoxeybqcqv@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/148e632c05412aa46b450d31cc598a0a33222792

Modified Files
--------------
src/backend/executor/nodeModifyTable.c        |  2 +-
src/test/regress/expected/updatable_views.out | 28 +++++++++++++--------------
2 files changed, 15 insertions(+), 15 deletions(-)



Message-ID: <E1gjVYG-00046l-NZ@gemulon.postgresql.org>
Permalink:  ../E1gjVYG-00046l-NZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gjVYG-00046l-NZ@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: Fix parent of WCO qual.
  In-Reply-To: <E1gjVYG-00046l-NZ@gemulon.postgresql.org>
  References: <E1gjVYG-00046l-NZ@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