!3538 修复回收站导致分区表relfilenode无法删除的问题
Merge pull request !3538 from 胡正超/recyclebin
This commit is contained in:
@ -894,7 +894,8 @@ void partition_create_new_storage(Relation rel, Partition part, const RelFileNod
|
||||
/*
|
||||
* Schedule unlinking of the old storage at transaction commit.
|
||||
*/
|
||||
if (!u_sess->attr.attr_storage.enable_recyclebin) {
|
||||
if (!u_sess->attr.attr_storage.enable_recyclebin ||
|
||||
!RelationIsTableAccessMethodUStoreType(rel->rd_options)) {
|
||||
PartitionDropStorage(rel, part);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user