| From: | Andrew Gierth <rhodiumtoad(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix transition tables for wCTEs. |
| Date: | 2017-06-28 18:18:17 |
| Message-ID: | E1dQHXd-0007rd-0M@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-06-28 21:31:46 | pgsql: Change pg_ctl to detect server-ready by watching status in postm |
| Previous Message | Tom Lane | 2017-06-28 16:30:38 | pgsql: Second try at fixing tcp_keepalives_idle option on Solaris. |