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

Commite402512

Browse files
committed
Typos in attempting to find parent in partcache during partstatus invalildation.
1 parentde0197d commite402512

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/hooks.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,11 +877,11 @@ pathman_relcache_hook(Datum arg, Oid relid)
877877
/* Invalidate PartBoundInfo entry if needed */
878878
forget_bounds_of_rel(relid);
879879

880-
/* Invalidate PartParentInfo entry if needed */
881-
forget_parent_of_partition(relid);
882-
883880
/* Invalidate PartStatusInfo entry if needed */
884881
forget_status_of_relation(relid);
882+
883+
/* Invalidate PartParentInfo entry if needed */
884+
forget_parent_of_partition(relid);
885885
}
886886
}
887887

‎src/relation_info.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ forget_status_of_relation(Oid relid)
215215
{
216216
/* Find status cache entry for parent */
217217
psin=pathman_cache_search_relid(status_cache,
218-
relid,HASH_FIND,
218+
ppar->parent_relid,HASH_FIND,
219219
NULL);
220220
if (psin)
221221
invalidate_psin_entry(psin);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp