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

Commitd071a30

Browse files
committed
improve pg_pathman_enable_assign_hook()
1 parent48f98c9 commitd071a30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎hooks.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,10 @@ pathman_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, RangeTb
305305

306306
voidpg_pathman_enable_assign_hook(boolnewval,void*extra)
307307
{
308-
if (pg_pathman_enable==newval)
308+
/* Return quickly if nothing has changed */
309+
if (newval== (pg_pathman_enable&&
310+
pg_pathman_enable_runtimeappend&&
311+
pg_pathman_enable_runtime_merge_append))
309312
return;
310313

311314
pg_pathman_enable_runtime_merge_append=newval;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp