Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PANIC error in ALTER TABLE xxx EXPAND PARTITION PREPARE (#12935)
When we changing the `rd_cdbpolicy` for a relation, we should make sure the memory be allocated in context of relation's own context, and we should make the policy between on-disk catalog and on-memory relation cache consistently.
- Loading branch information
1 parent
4b33602
commit c3cd202
Showing
1 changed file
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters