pgsql: Consider parallel awareness when removing single-child Appends

2022-01-25 Thread David Rowley
Consider parallel awareness when removing single-child Appends 8edd0e794 added some code to remove Append and MergeAppend nodes when they contained a single child node. As it turned out, this was unsafe to do when the Append/MergeAppend was parallel_aware and the child node was not. Removing the

pgsql: Consider parallel awareness when removing single-child Appends

2022-01-25 Thread David Rowley
Consider parallel awareness when removing single-child Appends 8edd0e794 added some code to remove Append and MergeAppend nodes when they contained a single child node. As it turned out, this was unsafe to do when the Append/MergeAppend was parallel_aware and the child node was not. Removing the

pgsql: Consider parallel awareness when removing single-child Appends

2022-01-25 Thread David Rowley
Consider parallel awareness when removing single-child Appends 8edd0e794 added some code to remove Append and MergeAppend nodes when they contained a single child node. As it turned out, this was unsafe to do when the Append/MergeAppend was parallel_aware and the child node was not. Removing the

pgsql: Consider parallel awareness when removing single-child Appends

2022-01-25 Thread David Rowley
Consider parallel awareness when removing single-child Appends 8edd0e794 added some code to remove Append and MergeAppend nodes when they contained a single child node. As it turned out, this was unsafe to do when the Append/MergeAppend was parallel_aware and the child node was not. Removing the