Thank you all. Was good to see so many reviews in such a short time.
Given that the expected behaviour is to copy only the heap. Indexes get corrupted on modifications. We shouldn't push the cost to commit. What if we simply block modifications to the table in a transaction after it moved to a new tablespace? Regards, Alexandre
