Skip to content

Commit 32fd611

Browse files
committed
Remove wrong fastpath in pathman_enable_assign_hook.
If one of options is disabled, but pathman generally enabled and disable SET comes, we actually need to take some actions.
1 parent 2dd78a5 commit 32fd611

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy