Skip to content

Conversation

AdarshHD
Copy link

@AdarshHD AdarshHD commented Apr 11, 2025

Earlier in 4.7.1 we had column in part_config table drop_cascade_Fk, so if the partitioned table on which maintenance was run using run_maintenance, if it had any Reference then those things use to get dropped. But that was not right, I guess that reason it has been removed from 5.1.0 version. But a new problem comes if partitioned table is being referred then run maintenance will fail. In order to handle this we need to detach partition before dropping it, hence I have made the changes in two place where partition was being dropped, this should work smoothly without any issue even when partition table is being referred by another table.

had reported this as issue in #767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants