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

Commit32fd611

Browse files
committed
Remove wrong fastpath in pathman_enable_assign_hook.
If one of options is disabled, but pathman generally enabled and disable SETcomes, we actually need to take some actions.
1 parent2dd78a5 commit32fd611

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎src/hooks.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -594,16 +594,6 @@ pathman_enable_assign_hook(bool newval, void *extra)
594594
elog(DEBUG2,"pg_pathman_enable_assign_hook() [newval = %s] triggered",
595595
newval ?"true" :"false");
596596

597-
/* Return quickly if nothing has changed */
598-
if (newval== (pathman_init_state.pg_pathman_enable&&
599-
pathman_init_state.auto_partition&&
600-
pathman_init_state.override_copy&&
601-
pg_pathman_enable_runtimeappend&&
602-
pg_pathman_enable_runtime_merge_append&&
603-
pg_pathman_enable_partition_filter&&
604-
pg_pathman_enable_bounds_cache))
605-
return;
606-
607597
pathman_init_state.auto_partition=newval;
608598
pathman_init_state.override_copy=newval;
609599
pg_pathman_enable_runtimeappend=newval;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp