Hi!
>Maybe you can add a comment in ATExecMergePartitions referring to
>transformPartitionCmdForMerge() so that people can more easily
>understand the logic.
Thanks, comment added.
Patch stop applying due to changes in upstream.
Here is a fixed version.
--
With best regards,
Dmitry Koval
Postgres Professional: http://postgrespro.com