Hi, Alexander!
Thank you very much for your work on refactoring the commits!
Yesterday I received an email from adjkldd@126.com <winterloo@126.com>
with a proposal for optimization (MERGE PARTITION command) for cases
where the target partition has a name identical to one of the merging
partition names.
I think this optimization is worth considering.
A simplified version of the optimization is attached to this letter
(difference is 10-15 lines).
All changes made in one commit
(v28-0001-ALTER-TABLE-MERGE-PARTITIONS-command.patch) and in one
function (ATExecMergePartitions).
In your opinion, should we added this optimization now or should it be
left for later?
--
With best regards,
Dmitry Koval
Postgres Professional: http://postgrespro.com