]> granicus.if.org Git - postgresql/commit
Fix transition tables for wCTEs.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Wed, 28 Jun 2017 17:59:01 +0000 (18:59 +0100)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Wed, 28 Jun 2017 17:59:01 +0000 (18:59 +0100)
commitc46c0e5202e8cfe750c6629db7852fdb15d528f3
tree710f0377e15e9ddad018d53fbd09aade535136d6
parent501ed02cf6f4f60c3357775eb07578aebc912d3a
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
src/backend/commands/copy.c
src/backend/commands/trigger.c
src/backend/executor/execReplication.c
src/backend/executor/nodeModifyTable.c
src/include/commands/trigger.h
src/test/regress/expected/triggers.out
src/test/regress/sql/triggers.sql