Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad580df

Browse files
committed
pathman: on_partition_remove fix
1 parentf85909e commitad580df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎contrib/pg_pathman/init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,8 @@ remove_relation_info(Oid relid)
480480
free_dsm_array(&rangerel->ranges);
481481
free_dsm_array(&prel->children);
482482
hash_search(range_restrictions, (constvoid*)&key,HASH_REMOVE,NULL);
483-
hash_search(relations, (constvoid*)&key,HASH_REMOVE,NULL);
484483
break;
485484
}
486485
prel->children_count=0;
487-
hash_search(relations, (constvoid*)&relid,HASH_REMOVE,0);
486+
hash_search(relations, (constvoid*)&key,HASH_REMOVE,0);
488487
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp