Fix transition tables for wCTEs.

Andrew Gierth <rhodiumtoad@postgresql.org>

Commit: c46c0e5202e8cfe750c6629db7852fdb15d528f3
Author: Andrew Gierth <rhodiumtoad@postgresql.org>
Date: 2017-06-28T17:59:01Z
Releases: 10.0
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

Files

Discussion