Do not add any distribution to a dummy append node
authorPavan Deolasee <[email protected]>
Mon, 28 Aug 2017 10:03:47 +0000 (15:33 +0530)
committerPavan Deolasee <[email protected]>
Mon, 28 Aug 2017 11:07:51 +0000 (16:37 +0530)
commitdbd9556cef9bf426bfd5e396f532d94a16860659
tree5e4e8c0eb6ca6ac781c174604e0d05417df751c6
parent8e1fc9914c83e5cd4ba4799fe6b4fee7dcb619bb
Do not add any distribution to a dummy append node

A dummy append node with no subpaths doesn't need any adjustment for
distribution. This allows us to actually correct handle UPDATE/DELETE in some
cases which were failing earlier.
src/backend/optimizer/plan/planner.c
src/test/regress/expected/rowsecurity.out
src/test/regress/expected/rules.out