pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <rhodiumtoad@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix transition tables for wCTEs.
Date: Wed, 28 Jun 2017 18:18:17 +0000
Message-ID: <E1dQHXd-0007rd-0M@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Fix transition tables for wCTEs.

The original coding didn't handle this case properly; each separate
DML substatement needs its own set of transitions.

Patch by Thomas Munro

Discussion: https://postgr.es/m/CAL9smLCDQ%3D2o024rBgtD4WihzX8B3C6u_oSQ2K3%2BR5grJrV0bg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c46c0e5202e8cfe750c6629db7852fdb15d528f3

Modified Files
--------------
src/backend/commands/copy.c            |  18 ++-
src/backend/commands/trigger.c         | 223 ++++++++++++++-------------------
src/backend/executor/execReplication.c |   6 +
src/backend/executor/nodeModifyTable.c |  16 ++-
src/include/commands/trigger.h         |  18 ++-
src/test/regress/expected/triggers.out |  20 +++
src/test/regress/sql/triggers.sql      |  21 ++++
7 files changed, 174 insertions(+), 148 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1dQHXd-0007rd-0M@gemulon.postgresql.org>
Permalink:  ../E1dQHXd-0007rd-0M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dQHXd-0007rd-0M@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: rhodiumtoad@postgresql.org
  Subject: Re: pgsql: Fix transition tables for wCTEs.
  In-Reply-To: <E1dQHXd-0007rd-0M@gemulon.postgresql.org>
  References: <E1dQHXd-0007rd-0M@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